Bug 1480654 - Duplicated users when changed the (upper,lower)case of letters of login name
Duplicated users when changed the (upper,lower)case of letters of login name
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance (Show other bugs)
Unspecified Unspecified
high Severity high
: GA
: 5.8.2
Assigned To: Joe Vlcek
Matt Pusateri
: ZStream
Depends On: 1448787
  Show dependency treegraph
Reported: 2017-08-11 11:07 EDT by Satoe Imaishi
Modified: 2017-10-23 20:38 EDT (History)
13 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1448787
Last Closed: 2017-10-23 20:38:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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 RHSA-2017:3005 normal SHIPPED_LIVE Important: Red Hat CloudForms security, bug fix, and enhancement update 2017-10-24 00:15:49 EDT

  None (edit)
Comment 3 CFME Bot 2017-08-11 15:01:10 EDT
New commit detected on ManageIQ/manageiq/fine:

commit 344df3acf370e5f852bfd4772b4b67dcc2649d69
Author:     Joe VLcek <jvlcek@redhat.com>
AuthorDate: Wed Aug 2 17:30:37 2017 -0400
Commit:     Joe VLcek <jvlcek@redhat.com>
CommitDate: Fri Aug 11 13:27:17 2017 -0400

    Normalize the username entered at login to lowercase
    This is a cherry pick from 88a312c28a
    The cherry pick was not clean and had to be finished manually due to layout change of affected files.
    LDAP does a case sensitive match of the user name but AD will
    do a case insensitive match. By normalizing the userid to
    lowercase when using external auth both backed to either
    an LDAP directory or AD both will authenticate but only one DB
    record, in all lowercase, will be created, even if the user
    attempted to login with a mixed case username when backed to AD.

 app/models/authenticator.rb             | 10 ++++++--
 spec/models/authenticator/httpd_spec.rb | 44 +++++++++++++++++++++++++++------
 2 files changed, 44 insertions(+), 10 deletions(-)
Comment 4 Matt Pusateri 2017-08-30 15:00:21 EDT
Verified on
Comment 10 errata-xmlrpc 2017-10-23 20:38:34 EDT
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.


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