LDAP authenticator now logs server address as info message
authorBen Rosser <rosser.bjr@gmail.com>
Mon, 19 Jun 2017 18:38:47 +0000 (14:38 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 30 Aug 2017 21:55:25 +0000 (23:55 +0200)
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

index ae4ea87..9e9d463 100644 (file)
@@ -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;