Hi,

Now I am getting below messages in logs:

Dec 04 11:48:40 - WARN  - No clean filter has been specified for task=adUser. 
During the clean phase, LSC wouldn't be able to get the right entries and may 
delete all destination entries !
Dec 04 11:48:40 - ERROR - Synchronization aborted because no source object has 
been found !
Dec 04 11:48:40 - ERROR - Synchronization aborted because no source object has 
been found !

And below is my task configuration:

  <tasks>
    <task>
      <name>adUser</name>
      <bean>org.lsc.beans.SimpleBean</bean>
      <ldapSourceService>
        <name>ldap-source-service</name>
        <connection reference="testldap" />
        <baseDn>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>(objectClass=inetOrgPerson)</getAllFilter>
        
<getOneFilter>(&amp;(objectClass=inetOrgPerson)(mail={mail}))</getOneFilter>
      </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>sAMAccountName</string>
            </fetchedAttributes>
        <getAllFilter>(objectClass=inetOrgPerson)</getAllFilter>
        
<getOneFilter>(&amp;(objectClass=inetOrgPerson)(mail={mail}))</getOneFilter>
      </ldapDestinationService>
       <propertiesBasedSyncOptions>
         <mainIdentifier>"mail=" + srcBean.getDatasetFirstValueById("mail") + 
",ou=People,dc=lsc-project,dc=org"</mainIdentifier>
         <defaultDelimiter>;</defaultDelimiter>
         <defaultPolicy>FORCE</defaultPolicy>
         <conditions>
             <create>true</create>
             <update>true</update>
             <delete>true</delete>
             <changeId>true</changeId>
          </conditions>
         <dataset>
          <name>objectclass</name>
           <policy>KEEP</policy>
           <createValues>
              <string>"user"</string>
           </createValues>
         </dataset>
       </propertiesBasedSyncOptions>

    </task>
  </tasks>

Can you please review and suggest what I am missing here?

"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