keystone/keystone
Keigo Noha f10ff1c9af Support bytes type in generate_public_ID()
python-ldap3.0 or later running on python3 uses str or bytes
data type according to what fields are returned.
local_id may be a bytes data type.
To handle it properly, mapping[key] needs to be examined for
identifying its data type and what python version is used.

Closes-Bug: #1901654
Change-Id: Iac097235fd31e166028c169d14ec0937c663c21c
(cherry picked from commit f7df9fba82)
(cherry picked from commit 5b860e0b3b)
(cherry picked from commit f4819fe36f)
2021-03-18 09:24:34 -05:00
..
api Fix security issues with EC2 credentials 2020-05-09 12:55:00 -07:00
application_credential Merge "Add notifications for deleting app creds by user" 2019-09-24 18:33:43 +00:00
assignment Delete system role assignments from system_assignment table 2020-10-30 16:03:28 +00:00
auth Fix oauthlib update errors 2019-09-05 11:48:41 -07:00
catalog Allow to filter endpoint groups by name 2019-07-18 08:57:50 +02:00
cmd Ensure bootstrap handles multiple roles with the same name 2020-01-09 07:51:15 -06:00
common Add schema placeholders for Train 2019-10-10 04:28:56 +00:00
conf Check timestamp of signed EC2 token request 2020-05-01 20:51:04 -07:00
credential Fix PostgreSQL specifc issue with credentials encoding 2019-09-18 11:43:52 +02:00
endpoint_policy Convert policy API to flask 2018-08-31 07:14:32 +00:00
federation Federation mapping debug should show direct_maps values 2019-09-19 11:27:53 -07:00
identity Support bytes type in generate_public_ID() 2021-03-18 09:24:34 -05:00
limit Drop limit columns 2019-07-05 06:59:58 +00:00
locale Imported Translations from Zanata 2018-08-09 06:06:59 +00:00
models Ensure OAuth1 authorized roles are respected 2020-05-03 21:43:13 -07:00
oauth1 Revert "Blacklist bandit 1.6.0" 2019-05-14 21:09:32 +00: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 Add immutable option for roles and projects 2019-09-10 00:03:16 -07:00
revoke Remove unused revoke_by_user_and_project 2018-09-14 04:08:01 +00:00
server Merge "Make system tokens work with domain-specific drivers" 2019-09-18 10:22:23 +00:00
tests Support bytes type in generate_public_ID() 2021-03-18 09:24:34 -05:00
token Fix token auth error if federated_groups_id is empty list 2020-01-02 04:11:58 +00:00
trust Move redelegation fields out of extras 2019-04-12 20:27:34 -07:00
__init__.py Revert "Disable eventlet monkey-patching of DNS" 2013-05-10 10:24:48 -04:00
exception.py Expose access rules as its own API 2019-09-14 03:14:20 -07:00
i18n.py Fix translated response 2019-08-19 14:49:37 +08:00
notifications.py Always have username in CADF initiator 2020-02-01 22:10:40 +00:00
version.py Update API version for access rules 2019-09-14 03:14:45 -07:00