Le 30/08/2016 à 15:33, felderm a écrit :
Hi all

We have a project where we would like to import users from a json list
into openldap directory.

I like the concept from LSC. Is it possible to integrate json data as
source? Do we need a jdbc driver ? Can we import it as plain file?

what are your experiences, suggestions?

Hello,

like CSV files, you can sync a JSON file with LSC.

First solution is to import this JSON in a database (you need to write a little script to do that) and then create a standard db2ldap LSC connector

Second solution is to use executable plugin (http://lsc-project.org/wiki/documentation/plugins/executable) and create simple scripts to read JSON files. You can see what I have done for CSV: http://lsc-project.org/wiki/documentation/plugins/executable/perl_csv2ldif

Hope it helps,

--
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

Reply via email to