Hi everybody,

I am trying to synchronize 2 openldap directories, but I have some
difficulties to deal with the mainIdentifier.
My configuration is below. The problem is that the
srcBean.getDatasetFirstValueById("uid") does not seem to be converted to
my uid value. I tryed to replace uid by any other attribute, the problem
is persisting.

Does anybody has an explanation ?

Thanks,
D.C.

      <ldapSourceService>
        <name>ldap-src-service</name>
        <connection reference="ldap-src-conn" />
        <baseDn>ou=people,ou=organization,c=fr</baseDn>
        <pivotAttributes>
          <string>myUniqueId</string>
        </pivotAttributes>
        <fetchedAttributes>
          <string>cn</string>
          <string>sn</string>
          <string>objectClass</string>
          <string>uid</string>
          <string>myUniqueId</string>
        </fetchedAttributes>
        <getAllFilter>(objectClass=inetorgperson)</getAllFilter>

<getOneFilter>(&amp;(objectClass=inetorgperson)(myUniqueId={myUniqueId}))</getOneFilter>
      </ldapSourceService>



      <propertiesBasedSyncOptions>
        <mainIdentifier>"uid=" + srcBean.getDatasetFirstValueById("uid")
+ ",ou=people,ou=organization,c=fr"</mainIdentifier>
_______________________________________________________________
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