Hello I 'm using LSC for synchronizing Ad + openldp to one OpenLDAP
It work well despite some little error ( due to tree content ...LSC
isn't in case).
today I'd like to migrate to the official version 2.0
I reinstalled LSC, copy the etc directory and run it ..
I'have a JAVA error about getCleanFilter ( I don't have this error with
2.0rc2)
see :
---8<------8<------8<------8<------8<------8<------8<---
root@openldap:/usr/local/LSC/bin# ./lsc -s all -f ../etc/ -v
juil. 30 12:45:40 - DEBUG - Loading XML configuration from:
/usr/local/LSC/bin/../etc/lsc.xml
juil. 30 12:45:40 - INFO - Reflections took 395 ms to scan 1 urls,
producing 60 keys and 226 values
juil. 30 12:45:40 - DEBUG - Importing XML schema file:
schemas/lsc-core-2.0.xsd
juil. 30 12:45:40 - ERROR - org.lsc.exception.LscConfigurationException:
javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content
was found starting with element 'getCleanFilter'. One of
'{"http://lsc-project.org/XSD/lsc-core-2.0.xsd":cleanFilter,
"http://lsc-project.org/XSD/lsc-core-2.0.xsd":filterAsync,
"http://lsc-project.org/XSD/lsc-core-2.0.xsd":dateFormat,
"http://lsc-project.org/XSD/lsc-core-2.0.xsd":interval}' is expected.]
org.lsc.exception.LscConfigurationException:
javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content
was found starting with element 'getCleanFilter'. One of
'{"http://lsc-project.org/XSD/lsc-core-2.0.xsd":cleanFilter,
"http://lsc-project.org/XSD/lsc-core-2.0.xsd":filterAsync,
"http://lsc-project.org/XSD/lsc-core-2.0.xsd":dateFormat,
"http://lsc-project.org/XSD/lsc-core-2.0.xsd":interval}' is expected.]
---8<------8<------8<------8<------8<------8<------8<---
I delete the line wich contain the getCleanFilter and It's work ...
I see this post :
http://www.mail-archive.com/[email protected]/msg00834.html
but I didn't find the error ... (I tried the CDATA notation .)
this an abstract of my file :
---8<------8<------8<------8<------8<------8<------8<---
<name>people-lyon</name>
<bean>org.lsc.beans.SimpleBean</bean>
<ldapSourceService>
<name>src-people-lyon</name>
<connection
reference="ldap-src-openldap-lyon" />
<baseDn>ou=people,dc=lyon,dc=cemagref,dc=fr</baseDn>
<pivotAttributes>
<string>uid</string>
</pivotAttributes>
<fetchedAttributes>
<string>description</string>
<string>cn</string>
<string>sn</string>
<string>userPassword</string>
<string>objectClass</string>
<string>uid</string>
<string>mail</string>
<string>l</string>
<string>title</string>
<string>postalAddress</string>
<string>ou</string>
<string>o</string>
<string>postalCode</string>
<string>telephoneNumber</string>
<string>physicalDeliveryOfficeName</string>
<string>givenName</string>
<string>displayName</string>
<string>department</string>
<string>uid</string>
<string>departmentNumber</string>
<string>roomNumber</string>
<string>mobile</string>
<string>jpegPhoto</string>
<string>employeeNumber</string>
<string>PersonnalTitle</string>
<string>objectClass</string>
</fetchedAttributes>
<getAllFilter>(&(objectClass=inetOrgPerson)(cgfShowGlobalAddressBook=true))</getAllFilter>
<getOneFilter>(&(objectClass=inetOrgPerson)(uid={uid}))</getOneFilter>
<getCleanFilter>(&(objectClass=inetOrgPerson)(uid={uid}))></getCleanFilter>
</ldapSourceService>
---8<------8<------8<------8<------8<------8<------8<---
any clue ?
thanks in advance
antoine
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users