I am still not able to resolve the issue in syncing Openldap data to AD. Errors 
are as below:

Dec 11 17:30:18 - ERROR - Error while adding entry 
cn=hvshah,cn=Users,dc=testrjil,dc=net in directory 
:javax.naming.directory.NoSuchAttributeException: [LDAP: error code 16 - 
00000057: LdapErr: DSID-0C090C30, comment: Error in attribute conversion 
operation, data 0, v1db0]; remaining name 'cn=hvshah,cn=Users'
Dec 11 17:30:18 - ERROR - Error while synchronizing ID 
cn=hvshah,cn=Users,dc=testrjil,dc=net: java.lang.Exception: Technical problem 
while applying modifications to the destination
# Thu Dec 11 17:30:18 IST 2014
dn: cn=hvshah,cn=Users,dc=testrjil,dc=net
changetype: add
mail: [email protected]
sn: HARDIK
cn: Hardik Shah
objectClass: [email protected]<mailto:[email protected]>

and configuration of task is as below:

  <tasks>
    <task>
      <name>adUser</name>
      <bean>org.lsc.beans.SimpleBean</bean>
      <ldapSourceService>
        <name>ldap-source-service</name>
        <connection reference="testldap" />
        <baseDn>ou=Sample,dc=lsc-project,dc=org</baseDn>
        <pivotAttributes>
          <string>uid</string>
        </pivotAttributes>
        <fetchedAttributes>
          <string>cn</string>
          <string>mail</string>
          <string>sn</string>
          <string>uid</string>
        </fetchedAttributes>
        <getAllFilter><![CDATA[(objectClass=inetOrgPerson)]]></getAllFilter>
        
<getOneFilter><![CDATA[(&(objectClass=inetOrgPerson)(uid={uid}))]]></getOneFilter>
        
<cleanFilter><![CDATA[(&(objectClass=inetOrgPerson)(uid={sAMAccountName}))]]></cleanFilter>
      </ldapSourceService>
      <ldapDestinationService>
          <name>testad-dst-service</name>
          <connection reference="testAD" />
            <baseDn>cn=Users,dc=testrjil,dc=net</baseDn>
            <pivotAttributes>
              <string>sAMAccountName</string>
            </pivotAttributes>
            <fetchedAttributes>
               <string>cn</string>
<string>mail</string>
               <string>objectClass</string>
               <string>sAMAccountName</string>
               <string>sn</string>
            </fetchedAttributes>
        <getAllFilter><![CDATA[(objectClass=user)]]></getAllFilter>
        
<getOneFilter><![CDATA[(&(objectClass=user)(sAMAccountName={uid}))]]></getOneFilter>
      </ldapDestinationService>
       <propertiesBasedSyncOptions>
         <mainIdentifier>"cn=" + srcBean.getDatasetFirstValueById("uid") + 
",cn=Users,dc=testrjil,dc=net"</mainIdentifier>
         <defaultDelimiter>;</defaultDelimiter>
         <defaultPolicy>FORCE</defaultPolicy>
         <conditions>
             <create>true</create>
             <update>true</update>
             <delete>true</delete>
          </conditions>
         <dataset>
           <name>objectclass</name>
           <policy>FORCE</policy>
           <forceValues>
              <string>srcBean.getDatasetFirstValueById("uid") + 
"@testrjil.net"</string>
           </forceValues>
           <createValues>
              <string>srcBean.getDatasetFirstValueById("uid")</string>
           </createValues>
         </dataset>
       </propertiesBasedSyncOptions>

    </task>
</tasks>
"Confidentiality Warning: This message and any attachments are intended only 
for the use of the intended recipient(s). 
are confidential and may be privileged. If you are not the intended recipient. 
you are hereby notified that any 
review. re-transmission. conversion to hard copy. copying. circulation or other 
use of this message and any attachments is 
strictly prohibited. If you are not the intended recipient. please notify the 
sender immediately by return email. 
and delete this message and any attachments from your system.

Virus Warning: Although the company has taken reasonable precautions to ensure 
no viruses are present in this email. 
The company cannot accept responsibility for any loss or damage arising from 
the use of this email or attachment."
_______________________________________________________________
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