* [FIX] Fixed LDAP ADS listing issue when base search is set to the domain top level. Thanks to @eth0h4ckr for the feedback. #264

This commit is contained in:
nuxsmin
2016-08-30 21:56:23 +02:00
parent beca658c64
commit bca2e1b309

View File

@@ -141,6 +141,10 @@ class Ldap
@ldap_set_option(self::$_ldapConn, LDAP_OPT_NETWORK_TIMEOUT, 10); // Set timeout
@ldap_set_option(self::$_ldapConn, LDAP_OPT_PROTOCOL_VERSION, 3); // Set LDAP version
if (self::$_ADS) {
@ldap_set_option(self::$_ldapConn, LDAP_OPT_REFERRALS, 0);
}
return true;
}