Merge pull request #3948 from rabbitt/ldap-fix

This commit is contained in:
jim-p 2018-06-20 08:19:34 -04:00
commit fdabb03481

View File

@ -1014,7 +1014,7 @@ function ldap_test_bind($authcfg) {
$ldapbindpw = $authcfg['ldap_bindpw'];
$ldapver = $authcfg['ldap_protver'];
$ldaptimeout = is_numeric($authcfg['ldap_timeout']) ? $authcfg['ldap_timeout'] : 5;
if (empty($ldapbndun) || empty($ldapbindpw)) {
if (empty($ldapbindun) || empty($ldapbindpw)) {
$ldapanon = true;
} else {
$ldapanon = false;