From 4fc5818a3419b18ae8321704a1ea4cb3775982fa Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 12 Jun 2006 14:55:44 +0000 Subject: [PATCH] =?UTF-8?q?d=E9but=20am=E9lioration=20LDAP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/admin/ldap.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/admin/ldap.php b/htdocs/admin/ldap.php index 0dc997cc1f0..4605dc4544e 100644 --- a/htdocs/admin/ldap.php +++ b/htdocs/admin/ldap.php @@ -263,6 +263,8 @@ if (function_exists("ldap_connect")) { $ldap = new Ldap(); // 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(); if ($ds) {