From b11441555c90d2143288508abb424cc1bd66e7d0 Mon Sep 17 00:00:00 2001 From: Maxime Kohlhaas <mko@atm-consulting.fr> Date: Fri, 25 Jan 2013 15:39:26 +0100 Subject: [PATCH] LDAP : Add SID sync in user creation --- scripts/user/sync_users_ldap2dolibarr.php | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/user/sync_users_ldap2dolibarr.php b/scripts/user/sync_users_ldap2dolibarr.php index 758440e201e..036d45f79a6 100755 --- a/scripts/user/sync_users_ldap2dolibarr.php +++ b/scripts/user/sync_users_ldap2dolibarr.php @@ -200,6 +200,7 @@ if ($result >= 0) $fuser->user_mobile=$ldapuser[$conf->global->LDAP_FIELD_MOBILE]; $fuser->office_fax=$ldapuser[$conf->global->LDAP_FIELD_FAX]; $fuser->email=$ldapuser[$conf->global->LDAP_FIELD_MAIL]; + $fuser->ldap_sid=$ldapuser[$conf->global->LDAP_FIELD_SID]; $fuser->job=$ldapuser[$conf->global->LDAP_FIELD_TITLE]; $fuser->note=$ldapuser[$conf->global->LDAP_FIELD_DESCRIPTION]; -- GitLab