Ajout pour débuggage ldap
This commit is contained in:
parent
fe679df10e
commit
f968821b76
@ -777,8 +777,10 @@ class Ldap
|
|||||||
dolibarr_syslog("Ldap::getRecords search=".$search." userDn=".$userDn." useridentifier=".$useridentifier." attributeArray=array(".join(',',$attributeArray).")");
|
dolibarr_syslog("Ldap::getRecords search=".$search." userDn=".$userDn." useridentifier=".$useridentifier." attributeArray=array(".join(',',$attributeArray).")");
|
||||||
|
|
||||||
// if the directory is AD, then bind first with the search user first
|
// if the directory is AD, then bind first with the search user first
|
||||||
if ($this->serverType == "activedirectory") {
|
if ($this->serverType == "activedirectory")
|
||||||
$this->bindauth($this->searchUser, $this->searchPassword);
|
{
|
||||||
|
$this->bindauth($this->searchUser, $this->searchPassword);
|
||||||
|
dolibarr_syslog("Ldap::bindauth searchUser=".$this->searchUser." searchPassword=".$this->searchPassword);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Define filter
|
// Define filter
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user