Red Hat Bugzilla – Bug 1480654
Duplicated users when changed the (upper,lower)case of letters of login name
Last modified: 2017-10-23 20:38:34 EDT
New commit detected on ManageIQ/manageiq/fine:
Author: Joe VLcek <firstname.lastname@example.org>
AuthorDate: Wed Aug 2 17:30:37 2017 -0400
Commit: Joe VLcek <email@example.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(-)
Verified on 184.108.40.206
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.