Le 22/07/2016 à 13:01, DAS AP a écrit :
Hi Members
Can anyone suggest a lsc.xml to connect OPENLDAP to AD .
When using mysql getting below error
INFO - Connecting to LDAP server
ldap://xxxx:389/dc=xxx,dc=xxxx,dc=com as cn=Manager,dc=xxx,dc=xxx,dc=com
Jul 22 16:18:10 - ERROR - org.lsc.exception.LscConfigurationException:
Configuration exception: Something bad happened while building the
SqlMapClient instance.java.lang.RuntimeException: Error occurred.
Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.
Cause: org.xml.sax.SAXParseException; lineNumber: 52; columnNumber:
16; The content of element type "sqlMapConfig" is incomplete, it must
match
"(properties?,settings?,resultObjectFactory?,typeAlias*,typeHandler*,transactionManager?,sqlMap+)+
Seems you are using a database service instead of an LDAP service. See
http://lsc-project.org/wiki/documentation/latest/configuration/service
When using AD as Destination , getting failure error in lsc config and
- INFO - Reflections took 260 ms to scan 1 urls, producing 55 keys
and 115 values
Jul 22 16:28:29 - ERROR - Unable to load configuration
(org.lsc.exception.LscConfigurationException: Configuration exception:
null)
org.lsc.exception.LscConfigurationException: Configuration exception: null
at
org.lsc.configuration.JaxbXmlConfigurationHelper.getConfiguration(JaxbXmlConfigurationHelper.java:162)
~[lsc-core-2.1.3.jar:na]
at org.lsc.Configuration.setUp(Configuration.java:482)
[lsc-core-2.1.3.jar:na]
at org.lsc.Configuration.setUp(Configuration.java:456)
[lsc-core-2.1.3.jar:na]
at org.lsc.Launcher.run(Launcher.java:205) [lsc-core-2.1.3.jar:na]
at org.lsc.Launcher.launch(Launcher.java:158) [lsc-core-2.1.3.jar:na]
at org.lsc.Launcher.main(Launcher.java:141) [lsc-core-2.1.3.jar:na]
Caused by: javax.xml.bind.UnmarshalException: null
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(Unknown
Source) ~[na:1.8.0_45]
at
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(Unknown
Source) ~[na:1.8.0_45]
at
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unknown
Source) ~[na:1.8.0_45]
at
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unknown
Source) ~[na:1.8.0_45]
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown
Source) ~[na:1.8.0_45]
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown
Source) ~[na:1.8.0_45]
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown
Source) ~[na:1.8.0_45]
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown
Source) ~[na:1.8.0_45]
at
org.lsc.configuration.JaxbXmlConfigurationHelper.getConfiguration(JaxbXmlConfigurationHelper.java:160)
~[lsc-core-2.1.3.jar:na]
... 5 common frames omitted
XML configuration file is bad. First check the version in XML namespace
(see http://lsc-project.org/wiki/documentation/latest/upgrade).
You can find a tutorial for OpenLDAP/AD here:
http://lsc-project.org/wiki/documentation/tutorial/openldaptoactivedirectory
--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux
87, rue de Turbigo - 75003 PARIS
Blog: http://sflx.ca/coudot
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users