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

Reply via email to