Commit 4b93ac79e567eac809353ffad68fbe3f9943d400

Authored by Neil Blakey-Milner
1 parent bc98efb5

KTS-1100: LDAP_OPT_REFERRALS to false for ActiveDirectory.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5729 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktstandard/ldap/ldapbaseauthenticationprovider.inc.php
... ... @@ -500,6 +500,7 @@ class KTLDAPBaseAuthenticator extends Authenticator {
500 500 'password' => $this->sSearchPassword,
501 501 'host' => $this->sLdapServer,
502 502 'base' => $this->sBaseDN,
  503 + 'options' => array('LDAP_OPT_REFERRALS' => 0),
503 504 );
504 505  
505 506 $this->oLdap =& Net_LDAP::connect($config);
... ...