commit f10ff1c9afaff4a707cf04c2948033d996adc803
Author: Keigo Noha <email address hidden>
Date: Tue Oct 27 15:07:53 2020 +0900
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 f7df9fba828328d8b20e85d711c1d27c77089632)
(cherry picked from commit 5b860e0b3b4e318b91325996156bae3f99abd6c7)
(cherry picked from commit f4819fe36f087b2f652dc68fd33880860570f8d9)
Reviewed: https:/ /review. opendev. org/c/openstack /keystone/ +/781490 /opendev. org/openstack/ keystone/ commit/ f10ff1c9afaff4a 707cf04c2948033 d996adc803
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit f10ff1c9afaff4a 707cf04c2948033 d996adc803
Author: Keigo Noha <email address hidden>
Date: Tue Oct 27 15:07:53 2020 +0900
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 66028c169d14ec0 937c663c21c 8b20e85d711c1d2 7c77089632) b91325996156bae 3f99abd6c7) f652dc68fd33880 860570f8d9)
Change-Id: Iac097235fd31e1
(cherry picked from commit f7df9fba828328d
(cherry picked from commit 5b860e0b3b4e318
(cherry picked from commit f4819fe36f087b2