keystone/keystone
Grzegorz Grasza b0c528cec4 Fix issue with LDAP backend returning bytes instead of string
When connecting to some LDAP server software, the ldap client returns
bytes instances instead of the expected strings. This can result in
either being transparently converted to strings, when the data is
inserted via sqlalchemy into the database, or could be used as
input to other functions, and/or cached, which causes unexpected
results.

Closes-Bug: #1952458
Resolves: rhbz#1964872
Change-Id: I77148641715efe09e3adc2e9432e66e50fb444b4
(cherry picked from commit 1e0cd90191)
2022-02-07 09:26:12 +00:00
..
api Use app cred user ID in policy enforcement 2020-11-11 11:01:20 -06:00
application_credential Update hacking for Python3 2020-04-15 07:17:58 +02:00
assignment Merge "Delete system role assignments from system_assignment table" 2020-10-30 21:16:38 +00:00
auth Add expiring user group memberships on mapped authentication 2020-04-07 19:30:57 -04:00
catalog Remove six usage 2020-01-30 06:06:51 +00:00
cmd [goal] Deprecate the JSON formatted policy file 2021-02-01 17:36:29 +00:00
common Merge "Update local_id limit to 255 characters" into stable/wallaby 2021-10-26 19:18:21 +00:00
conf [goal] Deprecate the JSON formatted policy file 2021-02-01 17:36:29 +00:00
credential New config option 'user_limit' in credentials 2020-06-12 13:52:45 +05:30
endpoint_policy Remove six usage 2020-01-30 06:06:51 +00:00
federation Support regexes in whitelists/blacklists 2020-05-26 11:00:21 -05:00
identity Fix issue with LDAP backend returning bytes instead of string 2022-02-07 09:26:12 +00:00
limit Remove six usage 2020-01-30 06:06:51 +00:00
locale Imported Translations from Zanata 2021-01-09 06:47:38 +00:00
models fix E225 missing whitespace around operator 2020-11-27 13:21:26 +01:00
oauth1 Stop to use the __future__ module. 2020-06-02 20:20:37 +02:00
policy Remove six usage 2020-01-30 06:06:51 +00:00
receipt Remove six usage 2020-01-30 06:06:51 +00:00
resource Update hacking for Python3 2020-04-15 07:17:58 +02:00
revoke Remove six usage 2020-01-30 06:06:51 +00:00
server Merge "Stop to use the __future__ module." 2020-07-31 08:42:30 +00:00
tests Update local_id limit to 255 characters 2021-08-27 12:27:19 +00:00
token Follow-up for bug-1891244 2020-08-13 15:40:35 +05:30
trust Remove six usage 2020-01-30 06:06:51 +00:00
__init__.py Revert "Disable eventlet monkey-patching of DNS" 2013-05-10 10:24:48 -04:00
exception.py New config option 'user_limit' in credentials 2020-06-12 13:52:45 +05:30
i18n.py Fix translated response 2019-08-19 14:49:37 +08:00
notifications.py Hide AccountLocked exception from end users 2021-05-10 15:44:46 +00:00
version.py Add expiring user group memberships on mapped authentication 2020-04-07 19:30:57 -04:00