keystone was not able to find any users while
the LDAP user name attribute was configured to
"samaccountname", but could find users when
reconfigured to use "sAMAccountName". LDAP is
not supposed to be case-sensitive, so either
should work.
This patch addresses the above problem by making
both the attributes into lower case. Also updated
the ldap_result example supporting python3.
Change-Id: I51813ac41489baed04f3cadbccd748e03025313e
Closes-Bug: #1753585
(cherry picked from commit 816b472a9d20e4e7cfe33f2f40ef5daae590795e)
Reviewed: https:/ /review. openstack. org/607056 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=15a8ae937d1 aa2a288770e06c9 9c36ba28dae481
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 15a8ae937d1aa2a 288770e06c99c36 ba28dae481
Author: Vishakha Agarwal <email address hidden>
Date: Tue Sep 18 15:17:07 2018 +0530
LDAP attribute names non-case-sensitive
keystone was not able to find any users while name", but could find users when
the LDAP user name attribute was configured to
"samaccount
reconfigured to use "sAMAccountName". LDAP is
not supposed to be case-sensitive, so either
should work.
This patch addresses the above problem by making
both the attributes into lower case. Also updated
the ldap_result example supporting python3.
Change-Id: I51813ac41489ba ed04f3cadbccd74 8e03025313e 7cfe33f2f40ef5d aae590795e)
Closes-Bug: #1753585
(cherry picked from commit 816b472a9d20e4e