summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorRobin Burchell <robin+git@viroteck.net>2012-11-28 17:57:50 +0100
committerRobin Burchell <robin+git@viroteck.net>2012-11-29 10:06:58 +0100
commit2fb2f639ad8b584a6e778569bc871f50d2de2d7e (patch)
tree774ace3ef4a55a90d789fce8e404159944675acc /src/modules/extra
parent83a89fc3f61a90275f86981fc32b1daa8e85d1b0 (diff)
ldapauth: Add missing verbose logging to required attributes.
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_ldapauth.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/extra/m_ldapauth.cpp b/src/modules/extra/m_ldapauth.cpp
index f908e7f76..70a73ffb5 100644
--- a/src/modules/extra/m_ldapauth.cpp
+++ b/src/modules/extra/m_ldapauth.cpp
@@ -286,6 +286,8 @@ public:
if (!authed)
{
+ if (verbose)
+ ServerInstance->SNO->WriteToSnoMask('c', "Forbidden connection from %s (Lacks required LDAP attributes)", user->GetFullRealHost().c_str());
ldap_msgfree(msg);
return false;
}