diff options
author | Ermal <eri@pfsense.org> | 2012-11-19 19:23:29 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-11-19 19:23:29 +0000 |
commit | 2004def59589e11675409bd3db2bd9df34ac864b (patch) | |
tree | 52d7401edaed8cca8c87617363fe16c2619f9397 /etc | |
parent | 3ac8324f5ba62e20e7fe41ecf138e67c74c35baf (diff) | |
download | pfsense-2004def59589e11675409bd3db2bd9df34ac864b.zip pfsense-2004def59589e11675409bd3db2bd9df34ac864b.tar.gz |
Put these logs under debug since that's their purpose
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/auth.inc | 3 |
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); |