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/607197 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=c1e96d42d34 46614c2475b5716 a075eac67ea73f
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit c1e96d42d344661 4c2475b5716a075 eac67ea73f
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