projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
878c4bd
)
LDAP authenticator now logs server address as info message
author
Ben Rosser
<rosser.bjr@gmail.com>
Mon, 19 Jun 2017 18:38:47 +0000
(14:38 -0400)
committer
Manuel 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
patch
|
blob
|
history
diff --git
a/src/core/ldapauthenticator.cpp
b/src/core/ldapauthenticator.cpp
index
ae4ea87
..
9e9d463
100644
(file)
--- 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;