keystone/keystone/identity
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
..
backends Merge "Properly handle octet (byte) strings when converting LDAP responses" into stable/train 2020-11-18 01:21:59 +00:00
id_generators Support bytes type in generate_public_ID() 2021-03-18 09:24:34 -05:00
mapping_backends Filter by entity_type in get_domain_mapping_list 2018-06-20 21:18:42 +03:00
shadow_backends Replace UUID with id_generator for Federated users 2019-04-03 21:13:20 +00:00
__init__.py Convert /v3/users to flask native dispatching 2018-10-11 15:27:45 -07:00
core.py Pass kwargs to exception to get better format of error message 2019-04-17 15:41:13 +08:00
generator.py Remove Dependency Injection 2017-12-13 10:59:39 -08:00
schema.py Move to password validation schema 2018-11-27 14:57:44 -06:00