Fix: debugage authentification ldap

This commit is contained in:
Regis Houssin 2007-12-31 14:07:55 +00:00
parent c16961e049
commit 2905ed0e54
2 changed files with 2 additions and 0 deletions

View File

@ -459,6 +459,7 @@ class Ldap
$this->ldapErrorCode = ldap_errno( $this->connection);
$this->ldapErrorText = ldap_error( $this->connection);
$this->ldapDebugDomain = $domain;
$this->ldapDebugDN = $checkDn;
return false;
}
}

View File

@ -321,6 +321,7 @@ if (! isset($_SESSION["dol_login"]))
print $ldap->ldapErrorCode.'<br>';
print $ldap->ldapErrorText.'<br>';
print 'domain:'.$ldap->ldapDebugDomain.'<br>';
print 'DN:'.$ldap->ldapDebugDN.'<br>';
print 'result:'.$resultCheck.'<br>';
if ($resultCheck)
{