Hi All, While running the ISC does not replicate the changes. They can help me with this?
#lsc -s all My config file: <?xml version="1.0" encoding="UTF-8"?> <lsc xmlns="http://lsc-project.org/XSD/lsc-core-2.1.xsd" revision="0"> <connections> <ldapConnection> <name>CONEX-BASE-LOCAL</name> <url>ldap://ldap.local/dc=my,dc=corp</url> <username>cn=sync,ou=app,ou=users,dc=my,dc=corp</username> <password>mypass</password> <authentication>SIMPLE</authentication> <referral>IGNORE</referral> <derefAliases>NEVER</derefAliases> <version>VERSION_3</version> <pageSize>-1</pageSize> <factory>com.sun.jndi.ldap.LdapCtxFactory</factory> <tlsActivated>false</tlsActivated> </ldapConnection> <ldapConnection> <name>CONEX-BASE-REMOTE</name> <url>ldaps://ldap.remote/ou=EXT,dc=corp,dc=remote</url> <username>uid=app.w,ou=app,ou=EXT,dc=corp,dc=remote</username> <password>otherpass</password> <authentication>SIMPLE</authentication> <referral>IGNORE</referral> <derefAliases>NEVER</derefAliases> <version>VERSION_3</version> <pageSize>-1</pageSize> <factory>com.sun.jndi.ldap.LdapCtxFactory</factory> <tlsActivated>false</tlsActivated> </ldapConnection> </connections> <tasks> <task> <name>pwsync</name> <bean>org.lsc.beans.SimpleBean</bean> <ldapSourceService> <name>SRC-SERVICE</name> <connection reference="CONEX-BASE-REMOTE"/> <baseDn>ou=EXT,dc=corp,dc=remote</baseDn> <pivotAttributes> <string>uid</string> </pivotAttributes> <fetchedAttributes> <string>objectClass</string> <string>uid</string> <string>userPassword</string> <string>modifyTimestamp</string> </fetchedAttributes> <getAllFilter>(objectClass=inetorgperson)</getAllFilter> <getOneFilter>(&(objectClass=inetorgperson)(uid={uid}))</getOneFilter> <cleanFilter>(&(objectClass=inetorgperson)(uid={uid}))</cleanFilter> </ldapSourceService> <ldapDestinationService> <name>DST-SERVICE</name> <connection reference="CONEX-BASE-LOCAL"/> <baseDn>ou=test,ou=users,dc=my,dc=corp</baseDn> <pivotAttributes> <string>uid</string> </pivotAttributes> <fetchedAttributes> <string>userPassword</string> </fetchedAttributes> <getAllFilter>(objectClass=inetorgperson)</getAllFilter> <getOneFilter>(&(objectClass=inetorgperson)(uid={uid}))</getOneFilter> </ldapDestinationService> <propertiesBasedSyncOptions> <mainIdentifier> dn = srcBean.getMainIdentifier(); old_base = "ou=EXT,dc=corp,dc=remote"; new_base = "ou=test,ou=users,dc=my,dc=corp"; dn = dn.replace(old_base, new_base); </mainIdentifier> <defaultDelimiter>;</defaultDelimiter> <defaultPolicy>FORCE</defaultPolicy> <conditions> <create>true</create> <update>srcBean.getDatasetFirstValueById('modifyTimestamp') > dstBean.getDatasetFirstValueById('modifyTimestamp')</update> <delete>true</delete> <changeId>false</changeId> </conditions> </propertiesBasedSyncOptions> </task> </tasks> </lsc> Thanks.
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

