Ajout definition de la version du protocole
This commit is contained in:
parent
7453c2ff8d
commit
b822ab599c
@ -42,6 +42,11 @@ function dolibarr_ldap_connect()
|
|||||||
{
|
{
|
||||||
$ldapconnect = ldap_connect(LDAP_SERVER_HOST,LDAP_SERVER_PORT);
|
$ldapconnect = ldap_connect(LDAP_SERVER_HOST,LDAP_SERVER_PORT);
|
||||||
|
|
||||||
|
if ($ldapconnect)
|
||||||
|
{
|
||||||
|
ldap_set_option($ldapconnect, LDAP_OPT_PROTOCOL_VERSION, LDAP_SERVER_PROTOCOLVERSION);
|
||||||
|
}
|
||||||
|
|
||||||
return $ldapconnect;
|
return $ldapconnect;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user