Hi.
I'm trying to get familiar with LSC. For now I have 2  openLDAP : 1 with
some entries and one without entries. I would like to sync the old one with
the new one.
I configure everything in the lsc.xml however when I try to validate the
configuration (with lsc -v) I run into this error :

"
ERROR - org.lsc.exception.LscConfigurationException:
javax.xml.bind.UnmarshalException
 - with linked exception:
[org.xml.sax.SAXParseException: cvc-complex-type.2.4.d: Invalid content was
found starting with element 'pivotAttributes'. No child element is expected
at this point.]
org.lsc.exception.LscConfigurationException:
javax.xml.bind.UnmarshalException
 - with linked exception:
[org.xml.sax.SAXParseException: cvc-complex-type.2.4.d: Invalid content was
found starting with element 'pivotAttributes'. No child element is expected
at this point.]
[...]
"

Here a sample of my lsc.xml :

"
[...]
<tasks>
    <task>
      <name>MySyncTask</name>
         <bean>org.lsc.beans.SimpleBean</bean>
      <ldapSourceService>
        <name>ldap-src-service</name>
        <connection reference="ldap-src-conn" />
        <baseDn>dc=MyDomain,dc=int</baseDn>

        <getAllFilter>(objectClass=inetorgperson)</getAllFilter>
        <getOneFilter>(&amp;(objectClass=inetorgperson)
            (mail={mail}))</getOneFilter>
        <cleanFilter>(&amp;(objectClass=inetorgperson)
            (mail={mail}))</cleanFilter>

         <filterAsync>modifytimestamp>={0}</filterAsync>
         <dateFormat>yyyyMMddHHmmss</dateFormat>
         <interval>5</interval>

        <pivotAttributes>
          <string>cn</string>
        </pivotAttributes>

        <fetchedAttributes>
          <string>cn</string>
          <string>sn</string>
          <string>objectClass</string>
          <string>uid</string>
          <string>mail</string>
        </fetchedAttributes>
      </ldapSourceService>

      <ldapDestinationService>
        <name>ldap-dst-service</name>
        <connection reference="ldap-dst-conn" />
        <baseDn>dc=MyDomain,dc=int</baseDn>

        <pivotAttributes>
          <string>cn</string>
        </pivotAttributes>

        <fetchedAttributes>
          <string>cn</string>
          <string>sn</string>
          <string>objectClass</string>
          <string>uid</string>
          <string>mail</string>
        </fetchedAttributes>
     </ldapDestinationService>
[...]
"

Any help would be great :)
Thanks


-- 
MILLION Emeric
_______________________________________________________________
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