summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-11-19 19:23:29 +0000
committerErmal <eri@pfsense.org>2012-11-19 19:23:29 +0000
commit2004def59589e11675409bd3db2bd9df34ac864b (patch)
tree52d7401edaed8cca8c87617363fe16c2619f9397 /etc/inc
parent3ac8324f5ba62e20e7fe41ecf138e67c74c35baf (diff)
downloadpfsense-2004def59589e11675409bd3db2bd9df34ac864b.zip
pfsense-2004def59589e11675409bd3db2bd9df34ac864b.tar.gz
Put these logs under debug since that's their purpose
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/auth.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index bf01ca9..f469137 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -1125,7 +1125,8 @@ function ldap_backed($username, $passwd, $authcfg) {
return false;
}
- log_auth(sprintf(gettext('Logged in successfully as %1$s via LDAP server %2$s with DN = %3$s.'), $username, $ldapname, $userdn));
+ if ($debug)
+ log_auth(sprintf(gettext('Logged in successfully as %1$s via LDAP server %2$s with DN = %3$s.'), $username, $ldapname, $userdn));
/* At this point we are bound to LDAP so the user was auth'd okay. Close connection. */
@ldap_unbind($ldap);
OpenPOWER on IntegriCloud