Revision 01d518e7
Added by Warren Baker about 13 years ago
etc/inc/auth.inc | ||
---|---|---|
1027 | 1027 |
if ($ldapanon == true) { |
1028 | 1028 |
if (!($res = @ldap_bind($ldap))) |
1029 | 1029 |
$error = true; |
1030 |
} else if (!($res = ldap_bind($ldap, $ldapbindun, $ldapbindpw))) |
|
1030 |
} else if (!($res = @ldap_bind($ldap, $ldapbindun, $ldapbindpw)))
|
|
1031 | 1031 |
$error = true; |
1032 | 1032 |
|
1033 | 1033 |
if ($error == true) { |
Also available in: Unified diff
Supress the error message if the ldap bind doesnt happen