Merge branch 'master' into dist/envole/6/master
This commit is contained in:
commit
e684ee6701
|
@ -52,6 +52,7 @@ class ldapService
|
||||||
|
|
||||||
if($ldapConn){
|
if($ldapConn){
|
||||||
ldap_set_option($ldapConn, LDAP_OPT_PROTOCOL_VERSION, 3);
|
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($this->tls) ldap_start_tls($ldapConn);
|
||||||
|
|
||||||
if(ldap_bind( $ldapConn, $this->user, $this->password)){
|
if(ldap_bind( $ldapConn, $this->user, $this->password)){
|
||||||
|
|
Loading…
Reference in New Issue