keystone/keystone/identity
Corey Bryant d6df1dff3e PY3: Ensure LDAP searches use unicode attributes
This is a bug fix that corresponds to changes missed in commit
eca0829c4c.

In Python 3, python-ldap no longer allows bytes for some fields (DNs,
RDNs, attribute names, queries). Instead, text values are represented
as str, the Unicode text type. Compatibility support is provided for
Python 2 by setting bytes_mode=False [1]. This support was provided
in commit eca0829c4c.

In this patch we ensure that attribute names specified in searches
are no longer encoded.

[1] More details about byte/str usage in python-ldap can be found at:
http://www.python-ldap.org/en/latest/bytes_mode.html#bytes-mode

Change-Id: If3398e2d08ea14fa4b8c498b2a9a7c7edb47b9e5
Closes-Bug: #1820333
2019-03-18 19:03:18 -04:00
..
backends PY3: Ensure LDAP searches use unicode attributes 2019-03-18 19:03:18 -04:00
id_generators Replace six iteration methods with standard ones 2016-09-08 18:56:31 +08:00
mapping_backends Filter by entity_type in get_domain_mapping_list 2018-06-20 21:18:42 +03:00
shadow_backends Invalidate the shadow user cache when deleting a user 2018-04-25 11:39:29 +08:00
__init__.py Convert /v3/users to flask native dispatching 2018-10-11 15:27:45 -07:00
core.py Adjust Indents to meet PEP8 E117 2019-01-29 13:48:57 -05: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