Le 04/06/2018 à 11:29, Julien TEHERY a écrit :
>
>>
>> There is no issue with LSC but a constraint in the destination directory
>> that refuses the modification. Are you sure that the user that is put in
>> group is already created in the directory? If not, the directory could
>> refuse to an unknown entry in the group.
>>
> Hello Clément,
>
> The final error is
>
>
> Yes users have allready been imported successfully (with attributes
> mapping and everything i needed).
> The fact is that users are retrieved with their memberuid which
> correspons to users'name concatenated with the first letter of their
> firstname, like
>
> teheryj
>
> script tries to add something like
>
> - uid=teheryj,cn=users,dc=dstdomain,dc=lan
>
> where members in Samba/AD groups are represented by their full DN, like :
>
>
> CN= Julien Téhéry,CN=Users,DC=DSTDOMAIN,DC=LAN
>
>
> So no correspondance between memberuid retried from posixgroup in LDAP
> with member in Samba/AD group.
>
> FYI I temporarily used a bash script to do this part, but i intend to
> do everything with LSC (never give up..!)
>

That's why you need to adapt the javascript in the member dataset to get
the real user DN in destination tp put this value as member. See as
example :
https://lsc-project.org/documentation/tutorial/synchronizegroups#properties

-- 
Clément Oudot | Identity Solutions Manager


Worteks | https://www.worteks.com

_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to