projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the identd listen on all adresses
[quassel.git]
/
src
/
core
/
ldapauthenticator.cpp
diff --git
a/src/core/ldapauthenticator.cpp
b/src/core/ldapauthenticator.cpp
index
31221fd
..
82ae5b4
100644
(file)
--- a/
src/core/ldapauthenticator.cpp
+++ b/
src/core/ldapauthenticator.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
8
by the Quassel Project *
+ * Copyright (C) 2005-201
9
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-28,7
+28,6
@@
#include "ldapauthenticator.h"
#include "ldapauthenticator.h"
-#include "logmessage.h"
#include "network.h"
#include "quassel.h"
#include "network.h"
#include "quassel.h"
@@
-152,11
+151,11
@@
Authenticator::State LdapAuthenticator::init(const QVariantMap& settings, const
bool status = ldapConnect();
if (!status) {
bool status = ldapConnect();
if (!status) {
- q
u
Info() << qPrintable(backendId()) << "authenticator cannot connect.";
+ qInfo() << qPrintable(backendId()) << "authenticator cannot connect.";
return NotAvailable;
}
return NotAvailable;
}
- q
u
Info() << qPrintable(backendId()) << "authenticator is ready.";
+ qInfo() << qPrintable(backendId()) << "authenticator is ready.";
return IsReady;
}
return IsReady;
}
@@
-177,7
+176,7
@@
bool LdapAuthenticator::ldapConnect()
serverURIArray = serverURI.toLocal8Bit();
res = ldap_initialize(&_connection, serverURIArray);
serverURIArray = serverURI.toLocal8Bit();
res = ldap_initialize(&_connection, serverURIArray);
- q
u
Info() << "LDAP: Connecting to" << serverURI;
+ qInfo() << "LDAP: Connecting to" << serverURI;
if (res != LDAP_SUCCESS) {
qWarning() << "Could not connect to LDAP server:" << ldap_err2string(res);
if (res != LDAP_SUCCESS) {
qWarning() << "Could not connect to LDAP server:" << ldap_err2string(res);