I'm using LSC 2.1 to synchronize with OpenLdap Activer directory and everything 
works perfectly. 
When OpenLDAP users are eliminated the cleaning step removes the users in 
Active Directory. 
Instead of deleting the user would like to turn them off in the active 
directory during cleaning. 




I tried to change the condition: 




<conditions> 
<create>true</create> 
<update>true</update> 
<delete><![CDATA[dstBean.getDatasetFirstValueById(" sAMAccountName ") &gt; 
AD.userAccountControlSet([AD.UAC_SET_ACCOUNTDISABLE])]]></delete> 
<changeId>true</changeId> 
</conditions> 




but don't working... 

The pivot in my ldapDestinationService is sAMAccountName, the CN is correct. 







This is the log: 




Jul 26 09:52:03 - INFO - Starting clean for Sync_Users 
Jul 26 09:52:32 - ERROR - Could not retrieve the object 
CN=testcf00a00a000a,OU=Peoples,DC=TEST,DC=local from the directory! 
Jul 26 09:52:33 - ERROR - All entries: 10885, to modify entries: 0, 
successfully modified entries: 0, errors: 1 




Where am I doing wrong? 




Thanks in advance 




Massimo 

_______________________________________________________________
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