Hi Clément,
I added "update" like this:
<operations>create, delete, update</operations>
But it still don't work. The file is created but is empty. Any
idea? Does it work for you?
I will try to test the audit of create and delete later today.
Regards
Maxime
Clément OUDOT <[email protected]> a écrit :
Le 18 avril 2012 22:20, Maxime Pelletier
<[email protected]> a écrit :
Hi,
I wanted to experiment the <audit> feature but I couldn't get it to work.
Here is what I have in lsc.xml:
=========================
<audits>
<csvAudit>
<name>csv</name>
<append>true</append>
<operations>create, delete</operations>
<file>/tmp/dump.csv</file>
<datasets>cn,dn,uidNumber</datasets>
<separator>,</separator>
</csvAudit>
</audits>
=========================
I added the uidNumber dataset for testing purpose, and when I run the task
the uidNumber attribute is modified:
==================
Apr 18 15:56:01 - INFO - # Updating object
cn=maxime,ou=EMPLOYES,ou=PERSONNES,o=ORG for EmployeSMB
dn: cn=maxime,ou=EMPLOYES,ou=PERSONNES,o=ORG
changetype: modify
replace: uidNumber
uidNumber: 100052
==================
However, the file /tmp/dump.csv is empty. Am I missing something?
You configured operations with "create, delete" and your are
performing an update, so it is not caught by your audit configuration.
Clément.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users