Hello,

I try to use the clean filter in LSC 2.0. It does not seems to be
documented on the wiki, so I grep the source. The XML markup to use
is: getCleanFilter.

I tried to use it in my configuration but without success.

First question: this markup should be used in source service or in
destination service?

I tried to use it in source service, configured with asyncLdapSourceService:

        <getAllFilter>(objectClass=agriPersonne)</getAllFilter>
        
<getOneFilter><![CDATA[(&(objectClass=agriPersonne)(uid={uid}))]]></getOneFilter>
        <getCleanFilter>(objectClass=agriPersonne)</getCleanFilter>

But when launching the clean phase:

clement@ader:~/Programmes/lsc$ bin/lsc -c all
avr. 17 10:13:12 - DEBUG - Loading XML configuration from:
/home/clement/Programmes/lsc/bin/../etc/lsc.xml
avr. 17 10:13:12 - INFO  - Logging configuration successfully loaded
from /home/clement/Programmes/lsc/bin/../etc/logback.xml
avr. 17 10:13:12 - INFO  - LSC configuration successfully loaded from
/home/clement/Programmes/lsc/bin/../etc/
avr. 17 10:13:12 - INFO  - Connecting to LDAP server ldap://localhost:30389/XXX
avr. 17 10:13:12 - INFO  - Connecting to LDAP server ldap://localhost:3389/XXX
avr. 17 10:13:12 - INFO  - Starting clean for password
avr. 17 10:13:12 - INFO  - All entries: 3, to modify entries: 0,
modified entries: 0, errors: 0


One of the 3 entries found in the destination does not exists in the
source, so it should be removed. It is not.


Other remark, when launching the above command, the script does not
stop, it requires a CTRL+C. Is the clean phase also event based? It
does not seems to be as -a and -c options are not compatible...


Thanks for your help,

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