Hello, The JS in the dataset is not really a problem to implement, but the source logic is (each entry found is mapped and I don't want that in this specific case).
Maybe I don't understand well the process but how can find the objects in the source and force the destination attributes/objects to be only executed through JS and not the default logic (each entry mapped, etc.). Thanks ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Tuesday 16 October 2018 18:18, Clément OUDOT <[email protected]> wrote: > Le 16/10/2018 à 18:07, twikk a écrit : > > > Hello, > > I would like to synchronize all the users contained in an OU (AD) to a > > specific groupOfUniqueNames (OpenLDAP). > > I already have all the users created with another sync task, but I do > > not understand how can I process. If I search all users in my source, > > LSC wants to create X times the group (X = number of users), so it > > doesn't work or update members. > > Hello, > > indeed, LSC is designed to sync source entries to destination entries, > not to map several entries into one. > > This said, you can try to write a connector that will sync an OU to a > group by using js into the member dataset and building values by > searching in the source OU rather than collecting source members. > > Look at > https://lsc-project.org/documentation/tutorial/synchronizeposixgroupstogroupofnames > for script example. > > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Clément Oudot | Identity Solutions Manager > > [email protected] > > 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 _______________________________________________________________ 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

