Le 19/07/2016 à 13:07, Massimo Ciancio a écrit :
Hello everyone

Hello Massimo,

I would be grateful if you could help me in my trouble.

We need to optimize the output of synchronies performed with "LSC" in a TXT or CSV to be forwarded to my Identity Manager to perform consequential work.
My scenario:
I own a custom Identity Manager where users are defined, Identity manager run a workflow and update OpenLDAP and Kerberos MIT. OpenLDAP is configured with SASL in Kerberos and has more than 12,000 users. This OpenLDAP server is synchronized with LSC asynchronously with Microsoft Active Directory.
Question:
I have to get an output file of LSC back to the workflow to perform other tasks, unfortunately happens that LCS still has not finished sync with the creation of the users that the workflow must be in error. If obtain from logback.xml a TXT or CSV log file with a progressive ID, UID, State (INFO or Error) could eleborare the workflow task through this log. But log in ldif not help me and the CSV log does not use <pattern> to realize log as the following example:

ID,Status,UID,changetype
1,INFO,UserNAME,modify


I was able to use the CsvLayout defined here: http://lsc-project.org/wiki/documentation/latest/configuration/logging#outputting_the_synchronization_in_csv_files

I had to attache this appender to logger "lsc" (and not "org.lsc") and this create a CSV file with all changed attributes. But I can't have the status, changetype, etc.

You can create several CSV file (one for "create", another for "update") if you need.

Does this fits your needs?

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