Reviewed: https://review.openstack.org/515409 Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=789573a0f17fd3ea8abd1a89034b865035925a8f Submitter: Zuul Branch: master
commit 789573a0f17fd3ea8abd1a89034b865035925a8f Author: prashkre <[email protected]> Date: Thu Oct 26 18:47:33 2017 +0530 Filter users/groups in ldap with whitespaces All users and groups are required to have a name. With this fix, Keystone will ignore users and groups that do have only white spaces as value for the LDAP attribute which Keystone has been configured to use for that entity's name. Change-Id: Id539e1b7e1cea8b05cd9bb753707e1fc98244d29 Closes-Bug: #1727726 ** Changed in: keystone Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Identity (keystone). https://bugs.launchpad.net/bugs/1727726 Title: Keystone to ignore ldap users/groups with blank spaces in their name Status in OpenStack Identity (keystone): Fix Released Bug description: With ldap server as backend, keystone has to handle users whose names having only white spaces. For e.g. From the below ldap query user result, keystone has to ignore user "'dn': u'cn=\\ \\ ,o=suffix2,o=IBM_SUFFIX'" which has only white spaces in its name. ldap_query_result = [{'dn': u'cn=arc1_posix_user,o=suffix2,o=IBM_SUFFIX', 'id': u'arc1_posix_user_uid', 'name': u'arc1_posix_user'}, {'dn': u'cn=arc1_posix_user_group,O=IBM_SUFFIX', 'id': u'arc1_posix_user_group', 'name': u'arc1_posix_user_group'}, {'dn': u'cn=\\ \\ ,o=suffix2,o=IBM_SUFFIX', 'id': u'arc1_posix_user', 'name': u' '}, {'dn': u'cn=arc1_posix_user3,o=suffix2,O=IBM_SUFFIX', 'id': u'arc1_posix_user', 'name': u'arc1_posix_user3'}] To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1727726/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

