diff options
-rw-r--r-- | radicale_auth_ldap/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radicale_auth_ldap/__init__.py b/radicale_auth_ldap/__init__.py index 5ef2b13..49edd93 100644 --- a/radicale_auth_ldap/__init__.py +++ b/radicale_auth_ldap/__init__.py @@ -47,9 +47,9 @@ class Auth(BaseAuth): if BINDDN and PASSWORD: conn = ldap3.Connection(SERVER, BINDDN, PASSWORD) - conn.bind() else: conn = ldap3.Connection(SERVER) + conn.bind() try: self.logger.debug("LDAP whoami: %s" % conn.extend.standard.who_am_i()) |