Wizard: disable LDAP referrals, fixes #6670

This commit is contained in:
Arthur Schiwon 2014-02-05 10:29:09 +01:00
parent a908bd5695
commit e825a008c9
1 changed files with 1 additions and 0 deletions

View File

@ -1014,6 +1014,7 @@ class Wizard extends LDAPUtility {
$this->configuration->ldapPort); $this->configuration->ldapPort);
$this->ldap->setOption($cr, LDAP_OPT_PROTOCOL_VERSION, 3); $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); $this->ldap->setOption($cr, LDAP_OPT_NETWORK_TIMEOUT, self::LDAP_NW_TIMEOUT);
if($this->configuration->ldapTLS === 1) { if($this->configuration->ldapTLS === 1) {
$this->ldap->startTls($cr); $this->ldap->startTls($cr);