Hi,
I have entries in a people OU .
I have an "obso" OU where people entries go when the account is finished.
When i synchronise obso OU of my OpenLdap whith obso OU of my AD, it tell
me that entry already exist!
Is it possible not have this error and lsc just move the
entry in the other ou?
My configuration :
<task>
<name>people</name>
<bean>org.lsc.beans.SimpleBean</bean>
<ldapSourceService>
<name>opends-source-service</name>
<connection reference="ldap-src-conn" />
<baseDn>ou=people,dc=myOpenLdap,dc=fr</baseDn>
<pivotAttributes>
<string>uid</string>
</pivotAttributes>
<fetchedAttributes>
<string>objectClass</string>
<string>cn</string>
<string>sn</string>
<string>displayName</string>
<string>uid</string>
<string>mail</string>>
</fetchedAttributes>
<getAllFilter>(objectClass=inetOrgPerson)</getAllFilter>
<getOneFilter>(uid={uid})</getOneFilter>
</ldapSourceService>
<ldapDestinationService>
<name>openldap-dst-service</name>
<connection reference="ldap-dst-conn" />
<baseDn>ou=People,dc=myAD,dc=local</baseDn>
<pivotAttributes>
<string>sAMAccountName</string>
</pivotAttributes>
<fetchedAttributes>
<string>objectClass</string>
<string>cn</string>
<string>sn</string>
<string>displayName</string>
<string>sAMAccountName</string>
<string>mail</string>
</fetchedAttributes>
<getAllFilter></getAllFilter>
<getOneFilter>(sAMAccountName={uid})</getOneFilter>
</ldapDestinationService>
<propertiesBasedSyncOptions>
<mainIdentifier>"cn=" + srcBean.getDatasetFirstValueById("uid") +
",ou=People,dc=myAD,dc=local"</mainIdentifier>
<defaultDelimiter>;</defaultDelimiter>
<defaultPolicy>FORCE</defaultPolicy>
<conditions>
<create>true</create>
<update>true</update>
<delete>true</delete>
<changeId>false</changeId>
</conditions>
<dataset>
<name>objectClass</name>
<policy>FORCE</policy>
<forceValues>
<string>"top"</string>
<string>"person"</string>
<string>"organizationalPerson"</string>
<string>"user"</string>
</forceValues>
<delimiter>;</delimiter>
</dataset>
<dataset>
<name>sAMAccountName</name>
<policy>FORCE</policy>
<forceValues>
<string>srcBean.getDatasetFirstValueById("uid")</string>
</forceValues>
</dataset>
<dataset>
<name>cn</name>
<policy>FORCE</policy>
<forceValues>
<string>srcBean.getDatasetFirstValueById("uid")</string>
</forceValues>
</dataset>
<dataset>
<name>default</name>
<policy>FORCE</policy>
</dataset>
</propertiesBasedSyncOptions>
</task>
Regards
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users