Reviewed: https://review.opendev.org/674031 Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=79ed42ee67915383242541329dd5aa186f087ff2 Submitter: Zuul Branch: stable/queens
commit 79ed42ee67915383242541329dd5aa186f087ff2 Author: Raildo Mascena <email address hidden> Date: Wed Jul 24 10:20:17 2019 -0300
Fix python3 compatibility on LDAP search DN from id
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.
[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: I63e3715032cd8edb11fbff7651f5ba1af506dc9d Related-Bug: #1798184 (cherry picked from commit 03531a56910b12922afde32b40e270b7d68a334b)
Reviewed: https:/ /review. opendev. org/674031 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=79ed42ee679 15383242541329d d5aa186f087ff2
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 79ed42ee6791538 3242541329dd5aa 186f087ff2
Author: Raildo Mascena <email address hidden>
Date: Wed Jul 24 10:20:17 2019 -0300
Fix python3 compatibility on LDAP search DN from id
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.
[1] More details about byte/str usage in python-ldap can be found at: www.python- ldap.org/ en/latest/ bytes_mode. html#bytes- mode
http://
Change-Id: I63e3715032cd8e db11fbff7651f5b a1af506dc9d 22afde32b40e270 b7d68a334b)
Related-Bug: #1798184
(cherry picked from commit 03531a56910b129