diff options
author | Warren Baker <warren@decoy.co.za> | 2012-07-27 23:19:41 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2012-07-27 23:19:41 +0200 |
commit | 323dc2e792487a06cb90f879160325af22cd89bc (patch) | |
tree | 8ad661d6560ca9ebe7a904176bc4c0d6f69b341e /etc | |
parent | 9af5f4591d41160fe6cca75d2cc2ec64c48fac26 (diff) | |
download | pfsense-323dc2e792487a06cb90f879160325af22cd89bc.zip pfsense-323dc2e792487a06cb90f879160325af22cd89bc.tar.gz |
Supress the error message if the ldap bind doesnt happen
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/auth.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index 7158b78..6f1f46f 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -1059,7 +1059,7 @@ function ldap_backed($username, $passwd, $authcfg) { if ($ldapanon == true) { if (!($res = @ldap_bind($ldap))) $error = true; - } else if (!($res = ldap_bind($ldap, $ldapbindun, $ldapbindpw))) + } else if (!($res = @ldap_bind($ldap, $ldapbindun, $ldapbindpw))) $error = true; if ($error == true) { |