1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-25 18:54:29 +01:00

more encoding error fix (on ldap auth)

This commit is contained in:
kakwa 2015-07-29 00:14:49 +02:00
parent 5d40cad342
commit ff08e09598

View File

@ -257,7 +257,7 @@ class Backend(ldapcherry.backend.Backend):
def auth(self, username, password):
binddn = self._get_user(username, NO_ATTR)
binddn = self._str(self._get_user(username, NO_ATTR))
if binddn is not None:
ldap_client = self._connect()
try: