Le 18/04/2016 17:02, Gustavo Castelo a écrit :
Hi,
I've successfuly implemented a sync flow between an ldap source and a
rest api and would like to now try importing from a relational db.
How would I go about importing a user-group hierarchy similar to one
found in an ldap directory? The examples don't mention how to handle
N-N relations so I'd appreciate if anyone can provide some pointers.
Perhaps I'll need 3 tasks, one for importing user details, one for
groups and one for the user-group relationship?
You need at least 2 tasks: one for users, the other for groups. For
groups, you need to create a SQL query that will concatenate members in
a single field. You will then be able to manager them as an array.
--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux
87, rue de Turbigo - 75003 PARIS
Blog: http://sflx.ca/coudot
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users