fix user ldap creation from bytes to string
This commit is contained in:
parent
86a082c29f
commit
503e31cc69
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class LdapManager:
|
|||
logger.debug("{uid} does not exist. Using it".format(uid=uidNumber))
|
||||
self._set_max_uid(uidNumber)
|
||||
try:
|
||||
uid = user.encode("utf-8")
|
||||
uid = user # user.encode("utf-8")
|
||||
conn.add("uid={uid},{customer_dn}".format(
|
||||
uid=uid, customer_dn=settings.LDAP_CUSTOMER_DN
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue