From 98a17e685a009efe1730f0b6555699049b239e63 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 31 Dec 2007 13:50:28 +0000 Subject: [PATCH] Fix: debugage authentification ldap --- htdocs/main.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 9c003f4fac8..8154effbb26 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -318,6 +318,8 @@ if (! isset($_SESSION["dol_login"])) $result=$ldap->connect_bind(); $resultCheck=$ldap->checkPass($usertotest,$passwordtotest); + print $ldap->ldapErrorCode.'
'; + print $ldap->ldapErrorText.'
'; print 'result:'.$resultCheck.'
'; if ($resultCheck) {