diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-02-05 10:29:09 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-02-10 11:28:55 +0100 |
commit | e825a008c9b99199bc91b87cb0e5ca88109aa202 (patch) | |
tree | b4a85727eef6036c4d5aff1741cd85248b7b5006 | |
parent | a908bd56953edb94f48dc483278f5427d51c17b2 (diff) | |
download | nextcloud-server-e825a008c9b99199bc91b87cb0e5ca88109aa202.tar.gz nextcloud-server-e825a008c9b99199bc91b87cb0e5ca88109aa202.zip |
Wizard: disable LDAP referrals, fixes #6670
-rw-r--r-- | apps/user_ldap/lib/wizard.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php index 30ce455274b..00623b74fb1 100644 --- a/apps/user_ldap/lib/wizard.php +++ b/apps/user_ldap/lib/wizard.php @@ -1014,6 +1014,7 @@ class Wizard extends LDAPUtility { $this->configuration->ldapPort); $this->ldap->setOption($cr, LDAP_OPT_PROTOCOL_VERSION, 3); + $this->ldap->setOption($cr, LDAP_OPT_REFERRALS, 0); $this->ldap->setOption($cr, LDAP_OPT_NETWORK_TIMEOUT, self::LDAP_NW_TIMEOUT); if($this->configuration->ldapTLS === 1) { $this->ldap->startTls($cr); |