From: Ben Rosser Date: Mon, 19 Jun 2017 18:38:47 +0000 (-0400) Subject: LDAP authenticator now logs server address as info message X-Git-Tag: travis-deploy-test~264 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=ce1feba3940c27dbce5eff9fa9705dce8240a64a;hp=878c4bdcdd8c1cc3347470ac3d8b9a9569b1a3dc 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. --- 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;