Thank you for your quick response.

I have removed that as per the below but still get this error.

root@labldap:~# /etc/init.d/lsc start
lsc: [INFO] Using /etc/default/lsc for configuration
lsc: [INFO] Launching LSC configuration test...
lsc: [ALERT] LSC configuration test failed



  <connections>

<!--  
        ./connection Connection node, include definition of the required 
parameters.
                                        Depending on the connection type, 
properties vary.
                                        Existing class type are : 
ldapConnection, databaseConnnection
                                        Plugins also provides : nisConnection, 
jndiExecDstConnection
--> 
    <ldapConnection>
      <name>ldap-src-conn</name>
<!--  ./url mandatory, the JNDI URL -->
      <url>ldap://10.18.1.60:389/dc=domain,dc=org,dc=za</url>
<!--  ./username mandatory, the DN to bind with -->
      
<username>CN=christiaan,OU=Users,OU=Site1,DC=domain,DC=org,DC=za</username>
<!--  ./password mandatory, credentials to bind with -->
      <password>password</password>
<!--  ./authentication mandatory, must contain either ANONYMOUS, SIMPLE, SASL, 
GSSAPI or DIGEST_MD5 -->
      <authentication>SIMPLE</authentication>
<!--  ./referral mandatory, must contain either IGNORE, THROUGH, THROW or 
FOLLOW -->
      <referral>IGNORE</referral>
<!--  ./derefAliases mandatory, must contain either NEVER, SEARCH, FIND, ALWAYS 
-->
      <derefAliases>NEVER</derefAliases>
<!--  ./version mandatory, must contain either VERSION_2, VERSION_3 -->
      <version>VERSION_3</version>
<!--  ./pageSize optional, specify the paged size when searching -->
      <pageSize>-1</pageSize>
<!--  ./factory mandatory, points to LDAP Context Factory, 
com.sun.jndi.ldap.LdapCtxFactory for a SUN JDK -->
      <factory>com.sun.jndi.ldap.LdapCtxFactory</factory>
<!--  ./tlsActivated optional, specify if SSL/TLS is activated to connect to 
the LDAP server -->
      <tlsActivated>false</tlsActivated>
    </ldapConnection>
        <ldapConnection>
      <name>ldap-dst-conn</name>
<!--  ./url mandatory, the JNDI URL -->
      <url>ldap://10.10.10.90:389/dc=domain,dc=org,dc=za</url>
<!--  ./username mandatory, the DN to bind with -->
      <username>cn=admin,dc=domain,dc=org,dc=za</username>
<!--  ./password mandatory, credentials to bind with -->
      <password>password</password>
<!--  ./authentication mandatory, must contain either ANONYMOUS, SIMPLE, SASL, 
GSSAPI or DIGEST_MD5 -->
      <authentication>SIMPLE</authentication>
<!--  ./referral mandatory, must contain either IGNORE, THROUGH, THROW or 
FOLLOW -->
      <referral>IGNORE</referral>
<!--  ./derefAliases mandatory, must contain either NEVER, SEARCH, FIND, ALWAYS 
-->
      <derefAliases>NEVER</derefAliases>
<!--  ./version mandatory, must contain either VERSION_2, VERSION_3 -->
      <version>VERSION_3</version>
<!--  ./pageSize optional, specify the paged size when searching -->
      <pageSize>-1</pageSize>
<!--  ./factory mandatory, points to LDAP Context Factory, 
com.sun.jndi.ldap.LdapCtxFactory for a SUN JDK -->
      <factory>com.sun.jndi.ldap.LdapCtxFactory</factory>
<!--  ./tlsActivated optional, specify if SSL/TLS is activated to connect to 
the LDAP server -->
      <tlsActivated>false</tlsActivated>
    </ldapConnection>
  </connections>



Kind Regards,




-----Original Message-----
From: lsc-users <[email protected]> On Behalf Of Soisik 
Froger
Sent: Tuesday, 19 March 2019 10:05 AM
To: [email protected]
Subject: Re: [lsc-users] Sync AD to LDAP

On 19/03/2019 07:30, Christiaan Louw wrote:
> When I start LSC, I get a config test fail.
> 
>  
> 
> Can you please point me in the right direction of where my issue might be?
> 

Hi,

If I run your configuration, I get this error message : Invalid content was 
found starting with element 'ldapConnection2'.

Indeed, you have a ldapConnection2 tag that is not authorized in LSC xml schema.

Regards.

-- 
Soisik Froger | Software Architect

[email protected]

Worteks | https://www.worteks.com
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to