mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +01:00
* [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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user