| 1 | --- |
| 2 | fixes: |
| 3 | - | |
| 4 | [`bug 1901654 <https://bugs.launchpad.net/keystone/+bug/1901654>`_] |
| 5 | Previously, generate_public_ID() in sha256.py assumed the passed arguments is str data type. |
| 6 | However, python-ldap 3.0 or later returns bytes data type for attribute values except fields |
| 7 | of distinguished names, relative distinguished names, attribute names, queries. |
| 8 | If keystone running on Python3 is integrated with LDAP and the LDAP server has local_id variable |
| 9 | in its attribute, user login operations will fail due to the assumption and modifiation of python-ldap. |
| 10 | By this fix, generate_public_ID() properly handles bytes data type in the parameter. |