From 867c06a100d6981c82a92665c93b1c211ef39c49 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 4 Dec 2018 14:48:27 +0000 Subject: [PATCH] accounts: Log to which LDAP server we are connecting Signed-off-by: Michael Tremer --- src/backend/accounts.py | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.47.3