mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-04 20:37:48 +02:00
more encoding error fix (on ldap auth)
This commit is contained in:
parent
5d40cad342
commit
ff08e09598
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue