From 98642d95084f18756573907177bd6dfeca08da56 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 2 Jun 2007 13:51:03 +0000 Subject: [PATCH] Fix: ajout debug --- htdocs/main.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index bd6f5869445..7032062b29e 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -354,6 +354,7 @@ if (! session_id() || ! isset($_SESSION["dol_login"])) if ($ldapdebug) print "DEBUG: login ldap = ".$login."
\n"; $ldap->fetch($login); + if ($ldapdebug) print "DEBUG: UACF = ".$ldap->uacf"
\n"; if ($ldapdebug) print "DEBUG: pwdLastSet = ".dolibarr_print_date($ldap->pwdlastset,'%d %b %Y')."
\n"; if ($ldapdebug) print "DEBUG: badPasswordTime = ".dolibarr_print_date($ldap->badpwdtime,'%d %b %Y')."
\n"; @@ -378,7 +379,6 @@ if (! session_id() || ! isset($_SESSION["dol_login"])) */ // On recherche le user dolibarr en fonction de son SID ldap $user->search_sid = $ldap->getObjectSid($login); - if ($ldapdebug) print "DEBUG: erreur getObjectSid = ".$ldap->error."
\n"; if ($ldapdebug) print "DEBUG: search_sid = ".$user->search_sid."
\n"; $result=$user->fetch(); if ($result)