From ce1feba3940c27dbce5eff9fa9705dce8240a64a Mon Sep 17 00:00:00 2001 From: Ben Rosser Date: Mon, 19 Jun 2017 14:38:47 -0400 Subject: [PATCH] LDAP authenticator now logs server address as info message As requested by Zhoriel, the core now prints the full address and port of the LDAP server it is connecting to, in order to make debugging a little easier. --- src/core/ldapauthenticator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/ldapauthenticator.cpp b/src/core/ldapauthenticator.cpp index ae4ea877..9e9d4638 100644 --- a/src/core/ldapauthenticator.cpp +++ b/src/core/ldapauthenticator.cpp @@ -181,6 +181,8 @@ bool LdapAuthenticator::ldapConnect() serverURIArray = serverURI.toLocal8Bit(); res = ldap_initialize(&_connection, serverURIArray); + quInfo() << "LDAP: Connecting to" << serverURI; + if (res != LDAP_SUCCESS) { qWarning() << "Could not connect to LDAP server:" << ldap_err2string(res); return false; -- 2.20.1