From 160d128aba0ba337dc0860541685e78f33875b37 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 24 Nov 2006 01:22:18 +0000 Subject: [PATCH] Fix: Toutes les synchro Dolibarr vers LDAP sont dans le trigger LDAP. --- htdocs/user.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/user.class.php b/htdocs/user.class.php index 9c6baea3542..fcd8e3d1c61 100644 --- a/htdocs/user.class.php +++ b/htdocs/user.class.php @@ -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) {