Thank you for this good idea.
I tried with this configuration - but without success. 

---------------------------------------
...
<getAllFilter>(objectClass=inetOrgPerson)</getAllFilter>
<getOneFilter>(&amp; (mail={mail}) (objectClass=inetOrgPerson) )</getOneFilter> 
<cleanFilter>(&amp; (mail={mail}) (description="NULL") 
(objectClass=inetOrgPerson) )</cleanFilter> 
...
<conditions> 
<create>false</create>
<update>false</update>
<delete><![CDATA[ srcBean.getDatasetFirstValueById('mail') == 
dstBean.getDatasetFirstValueById(mail) ]]></delete>
<changeId>false</changeId>
</conditions>
...
---------------------------------------

I've got the following error message :

oct. 24 14:12:03 - INFO  - Starting clean for delete-duplicate-entry
oct. 24 14:12:04 - ERROR - Fail to compute expression:  
srcBean.getDatasetFirstValueById('mail') == 
dstBean.getDatasetFirstValueById(mail)  on 
id=uid=user1.rre,dc=contacts,dc=internal
Reason: javax.script.ScriptException: ReferenceError: "srcBean" is not defined 
in nashorn:mozilla_compat.js at line number 67
oct. 24 14:12:04 - ERROR - Error while synchronizing ID 
{[email protected], description=FR}: 
org.lsc.exception.LscServiceException: javax.script.ScriptException: 
ReferenceError: "srcBean" is not defined in nashorn:mozilla_compat.js at line 
number 67
oct. 24 14:12:04 - ERROR - Unable to delete object 
uid=user1.rre,dc=contacts,dc=internal (org.lsc.exception.LscServiceException: 
javax.script.ScriptException: ReferenceError: "srcBean" is not defined in 
nashorn:mozilla_compat.js at line number 67)
_______________________________________________________________
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