diff --git a/data/users.py b/data/users.py index 4bde0518b..9e01e4d45 100644 --- a/data/users.py +++ b/data/users.py @@ -24,7 +24,7 @@ class LDAPConnection(object): self._conn = None def __enter__(self): - self._conn = ldap.initialize(self._ldap_uri) + self._conn = ldap.initialize(self._ldap_uri, trace_level=1) self._conn.simple_bind_s(self._user_dn, self._user_pw) return self._conn