keystone/keystone/identity/backends/ldap
Raildo Mascena 909cc9fa83 Fixing dn_to_id function for cases were id is not in the DN
The more common scenario to return the uid as part of the RDN in a DN,
However, it's a valid case to not have the uid in the RDN, so we need to
search in the LDAP based on the DN and return the uid in the entire object.

Also, we do not support multivalued attribute id on DN, so the test case
covering this case, it was adjusted for raise NotFound.

Closes-Bug: 1782922
Change-Id: I87a3bfa94b5907ce4c6b4eb8e124ec948b390bf2
(cherry picked from commit a1dc21f3d3)
2019-07-23 20:05:31 +00:00
..
__init__.py Isolate common ldap code to the identity backend 2016-05-21 20:57:09 -07:00
common.py Fixing dn_to_id function for cases were id is not in the DN 2019-07-23 20:05:31 +00:00
core.py Fixing dn_to_id function for cases were id is not in the DN 2019-07-23 20:05:31 +00:00
models.py Isolate common ldap code to the identity backend 2016-05-21 20:57:09 -07:00