From 2fb2f639ad8b584a6e778569bc871f50d2de2d7e Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Wed, 28 Nov 2012 17:57:50 +0100 Subject: ldapauth: Add missing verbose logging to required attributes. --- src/modules/extra/m_ldapauth.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modules/extra/m_ldapauth.cpp') 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; } -- cgit v1.2.3