]> git.ipfire.org Git - ipfire.org.git/commitdiff
accounts: Log to which LDAP server we are connecting
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Dec 2018 14:48:27 +0000 (14:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Dec 2018 14:48:27 +0000 (14:48 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/accounts.py

index 67085376ab4fbbbab35fe981c9d161c5413d3ac8..3d28b9e69baecf7c471f689769bb8ce323b7d3f0 100644 (file)
@@ -35,6 +35,8 @@ class Accounts(Object):
                ldap_uri = self.settings.get("ldap_uri")
                conn = ldap.initialize(ldap_uri)
 
+               logging.debug("Connecting to LDAP server: %s" % ldap_uri)
+
                # Bind with username and password
                bind_dn = self.settings.get("ldap_bind_dn")
                if bind_dn: