From: Michael Tremer Date: Tue, 4 Dec 2018 14:48:27 +0000 (+0000) Subject: accounts: Log to which LDAP server we are connecting X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=867c06a100d6981c82a92665c93b1c211ef39c49;p=ipfire.org.git accounts: Log to which LDAP server we are connecting Signed-off-by: Michael Tremer --- diff --git a/src/backend/accounts.py b/src/backend/accounts.py index 67085376..3d28b9e6 100644 --- a/src/backend/accounts.py +++ b/src/backend/accounts.py @@ -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: