Comment 5 for bug 1798184

Revision history for this message
Corey Bryant (corey.bryant) wrote : Re: PY3: python3-ldap does not allow bytes for DN/RDN/field names

ldappool$ grep -r utf8
ldappool/__init__.py:_utf8_encoder = codecs.getencoder('utf-8')
ldappool/__init__.py:def utf8_encode(value):
ldappool/__init__.py: return _utf8_encoder(value)[0]
ldappool/__init__.py: passwd = utf8_encode(passwd)
ldappool/__init__.py: passwd = utf8_encode(passwd)
ldappool/__init__.py: passwd = utf8_encode(passwd)