début amélioration LDAP
This commit is contained in:
parent
777ef01c0a
commit
4fc5818a34
@ -263,6 +263,8 @@ if (function_exists("ldap_connect"))
|
|||||||
{
|
{
|
||||||
$ldap = new Ldap();
|
$ldap = new Ldap();
|
||||||
// Test ldap_connect
|
// Test ldap_connect
|
||||||
|
// ce test n'est pas fiable car une ressource est constamment retournée
|
||||||
|
// il faut se fier au test ldap_bind
|
||||||
$ds = $ldap->dolibarr_ldap_connect();
|
$ds = $ldap->dolibarr_ldap_connect();
|
||||||
if ($ds)
|
if ($ds)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user