LDAP_OPT_REFERRALS
This commit is contained in:
parent
e82d932cfb
commit
5dedf3b183
@ -52,6 +52,7 @@ class ldapService
|
||||
|
||||
if($ldapConn){
|
||||
ldap_set_option($ldapConn, LDAP_OPT_PROTOCOL_VERSION, 3);
|
||||
ldap_set_option($ldapConn, LDAP_OPT_REFERRALS, 0);
|
||||
if($this->tls) ldap_start_tls($ldapConn);
|
||||
|
||||
if(ldap_bind( $ldapConn, $this->user, $this->password)){
|
||||
|
Loading…
Reference in New Issue
Block a user