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/607198 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=55fda22d5b9 f6c99ce093aefe1 3b3cb728e47748
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 55fda22d5b9f6c9 9ce093aefe13b3c b728e47748
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