Fix: debugage authentification ldap
This commit is contained in:
parent
c16961e049
commit
2905ed0e54
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user