Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1396490 - ldap user cannot login when email has an apostrophe character
ldap user cannot login when email has an apostrophe character
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance (Show other bugs)
5.6.0
x86_64 Linux
urgent Severity urgent
: GA
: 5.6.4
Assigned To: Tim Wade
Matt Pusateri
ldap
: ZStream
Depends On: 1379420
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-18 08:35 EST by Satoe Imaishi
Modified: 2017-03-09 12:04 EST (History)
11 users (show)

See Also:
Fixed In Version: 5.6.4.0
Doc Type: Release Note
Doc Text:
This update adds login support for user email addresses containing apostrophes.
Story Points: ---
Clone Of: 1379420
Environment:
Last Closed: 2017-03-09 12:04:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0474 normal SHIPPED_LIVE CFME 5.6.4 bug fixes and enhancement update 2017-03-09 17:03:14 EST

  None (edit)
Comment 2 CFME Bot 2016-12-13 13:26:09 EST
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/b913c33bdcad5bc30ae8f280fda3cc0bb27c4ebb

commit b913c33bdcad5bc30ae8f280fda3cc0bb27c4ebb
Author:     Gregg Tanzillo <gtanzill@redhat.com>
AuthorDate: Thu Nov 17 17:21:11 2016 -0500
Commit:     Oleg Barenboim <chessbyte@gmail.com>
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(-)
Comment 3 Matt Pusateri 2017-02-15 13:52:37 EST
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.
Comment 4 Matt Pusateri 2017-02-15 14:51:44 EST
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.
Comment 5 Dave Johnson 2017-02-17 15:32:34 EST
Opened bug 1424620 to cover comment 3 and 4.

This needs some doctext around it
Comment 8 errata-xmlrpc 2017-03-09 12:04:22 EST
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

Note You need to log in before you can comment on or make changes to this bug.