Fix: pas de connexion pour active directory
This commit is contained in:
parent
6a89ba4277
commit
d8c19f91d5
@ -215,10 +215,11 @@ class Ldap
|
||||
if ($this->serverType == "activedirectory")
|
||||
{
|
||||
$result=$this->setReferrals();
|
||||
dolibarr_syslog("Ldap::connect_bind try bindauth for activedirectory on ".$host." user=".$conf->global->LDAP_ADMIN_DN,LOG_DEBUG);
|
||||
$result=$this->bindauth($conf->global->LDAP_ADMIN_DN,$conf->global->LDAP_ADMIN_PASS);
|
||||
if ($result)
|
||||
{
|
||||
//$this->bind=???? Comment positionne-t-on bind avec activedirectory ?
|
||||
//si bind non défini, les autres fonctions échouent
|
||||
$this->bind=$this->result;
|
||||
$connected=3;
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user