keystone/keystone
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
..
access_rules_config Add a permissive mode for access rules config 2019-03-03 18:33:49 +01:00
api Merge "Add domain scope support for group policies" into stable/stein 2019-04-02 11:04:24 +00:00
application_credential Add driver support for app cred access rules 2019-03-03 18:33:49 +01:00
assignment Revert "Blacklist bandit 1.6.0" 2019-06-24 06:52:52 -07:00
auth Emit CADF notifications on authentication for invalid users 2018-10-25 17:43:37 -07:00
catalog Region update extra support 2018-11-07 22:57:11 +00:00
cmd Merge "Replace 'tenant_id' with 'project_id'" 2019-02-05 04:04:48 +00:00
common Revert "Blacklist bandit 1.6.0" 2019-06-24 06:52:52 -07:00
conf Merge "Add a permissive mode for access rules config" 2019-03-11 05:39:50 +00:00
credential Incorrect use of translation _() 2018-09-03 21:52:56 +05:30
endpoint_policy Convert policy API to flask 2018-08-31 07:14:32 +00:00
federation Fix wrong example for direct_maps 2019-02-11 22:46:48 +05:30
identity Fixing dn_to_id function for cases were id is not in the DN 2019-07-23 20:05:31 +00:00
limit Add domain level support for strict-two-level-model 2019-02-19 11:09:13 +08:00
locale Imported Translations from Zanata 2018-08-09 06:06:59 +00:00
models Add missing ws seperator between words 2018-11-19 14:36:40 +08:00
oauth1 Revert "Blacklist bandit 1.6.0" 2019-06-24 06:52:52 -07:00
policy Convert policy API to flask 2018-08-31 07:14:32 +00:00
receipt Change __all__ list to tuple 2018-11-07 16:40:02 -06:00
resource Update project depth check 2019-02-19 11:09:13 +08:00
revoke Remove unused revoke_by_user_and_project 2018-09-14 04:08:01 +00:00
server Only validate tokens once per request 2019-03-25 17:41:34 +00:00
tests Fixing dn_to_id function for cases were id is not in the DN 2019-07-23 20:05:31 +00:00
token Merge "Implement JWS token provider" 2019-02-22 03:53:02 +00:00
trust Add abstract method in trusts base.py 2018-11-07 08:43:39 +05:30
__init__.py Revert "Disable eventlet monkey-patching of DNS" 2013-05-10 10:24:48 -04:00
exception.py Add JSON driver for access rules config 2019-03-03 18:33:11 +01:00
i18n.py Update links in keystone 2017-09-12 15:18:13 +08:00
notifications.py Revert "Blacklist bandit 1.6.0" 2019-06-24 06:52:52 -07:00
version.py bump Keystone version for Stein 2019-01-22 15:34:06 +13:00