Ok sorry,

This is 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

Le Mardi 10 Juillet 2012 10:16 CEST, Sébastien Bahloul 
<[email protected]> a écrit: 
 
> Hi Hakim,
> 
> Sorry for missing your email, please always send a copy to the lsc-users
> list.
> 
> Yes you can: the issue you are probably encountering is due to the base and
> filterId settings that should not be able to match entries from your
> OpenLDAP inside your Active Directory. Can you pastebin your configuration ?
> 
> Regards,
> 
> Le lundi 25 juin 2012, yahiaoui hakim a écrit :
> 
> > Hi Sebastien
> >
> > 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!
> >
> > My question is it is possible to no have this error and lsc just move the
> > entry in the other ou?
> >
> > Regards
> >
> >
> 
> -- 
> Sebastien BAHLOUL
> IAM / Security specialist
> Ldap Synchronization Connector : http://lsc-project.org
> Blog : http://sbahloul.wordpress.com/
 
 
 
 

_______________________________________________________________
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