Compare commits
2 Commits
031ca517ed
...
e684ee6701
Author | SHA1 | Date | |
---|---|---|---|
e684ee6701 | |||
5dedf3b183 |
@ -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…
x
Reference in New Issue
Block a user