New commit detected on ManageIQ/manageiq/darga: https://github.com/ManageIQ/manageiq/commit/b913c33bdcad5bc30ae8f280fda3cc0bb27c4ebb commit b913c33bdcad5bc30ae8f280fda3cc0bb27c4ebb Author: Gregg Tanzillo <gtanzill> AuthorDate: Thu Nov 17 17:21:11 2016 -0500 Commit: Oleg Barenboim <chessbyte> CommitDate: Tue Dec 13 13:21:12 2016 -0500 Merge pull request #12729 from imtayadeway/fix/email-validation Allow apostrophes in email address (cherry picked from commit f728774fb1db4c4e48246f27dbb9f0f50a4162d8) https://bugzilla.redhat.com/show_bug.cgi?id=1396490 app/models/user.rb | 2 +- spec/models/user_spec.rb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-)
While the original patch does indeed make authentication work. There is still a condition that creates two users in the database/webui. Setup external auth, enable it as the mode. Log in as the UID of the LDAP user, user will show up under Users in UI. Logout and login with email address of the user. another duplicate user will be created, when in fact they are the same user.
Actually, logging in with the email address fails to match the user's group, so it doesn't duplicate the user like in 5.7.1.1. But, still only partially fixed.
Opened bug 1424620 to cover comment 3 and 4. This needs some doctext around it
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2017-0474.html