Fix: Toutes les synchro Dolibarr vers LDAP sont dans le trigger LDAP.

This commit is contained in:
Laurent Destailleur 2006-11-24 01:22:18 +00:00
parent 4b0de2ed56
commit 160d128aba

View File

@ -1266,6 +1266,7 @@ class User
if ($this->nom && $conf->global->LDAP_FIELD_NAME) $info[$conf->global->LDAP_FIELD_NAME] = $this->nom;
if ($this->prenom && $conf->global->LDAP_FIELD_FIRSTNAME) $info[$conf->global->LDAP_FIELD_FIRSTNAME] = $this->prenom;
if ($this->login && $conf->global->LDAP_FIELD_LOGIN) $info[$conf->global->LDAP_FIELD_LOGIN] = $this->login;
if ($this->login && $conf->global->LDAP_FIELD_LOGIN_SAMBA) $info[$conf->global->LDAP_FIELD_LOGIN_SAMBA] = $this->login;
if ($this->poste) $info["title"] = $this->poste;
if ($this->societe_id > 0)
{