Hi Clement, After to read your message, I copied the lsc.xml file in the path ldap2ad and I ran the script, this are the results of that launch.
------------------------------------------------------------------------ 11:13:43,581 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] 11:13:43,582 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/etc/lsc/logback.xml] 11:13:43,582 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath. 11:13:43,582 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/etc/lsc/logback.xml] 11:13:43,582 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/lib/lsc/lsc-core-2.1.3.jar!/logback.xml] 11:13:43,729 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set 11:13:43,754 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] 11:13:43,760 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE] 11:13:43,834 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [encoder] on top of the object stack. 11:13:43,901 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack. 11:13:44,009 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender] 11:13:44,023 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [LSC] 11:13:44,030 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack. 11:13:44,031 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[LSC] - This appender no longer admits a layout as a sub-component, set an encoder instead. 11:13:44,031 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[LSC] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder. 11:13:44,031 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[LSC] - See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details 11:13:44,032 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [filter] on top of the object stack. 11:13:44,061 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [rollingPolicy] on top of the object stack. 11:13:44,086 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@64c64813 - Will use gz compression 11:13:44,088 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [triggeringPolicy] on top of the object stack. 11:13:44,094 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[LSC] - Active log file name: /var/log/lsc/lsc.log 11:13:44,094 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[LSC] - File property is set to [/var/log/lsc/lsc.log] 11:13:44,095 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender] 11:13:44,095 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [LSC_STATUS] 11:13:44,100 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack. 11:13:44,101 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] - This appender no longer admits a layout as a sub-component, set an encoder instead. 11:13:44,101 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder. 11:13:44,101 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] - See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details 11:13:44,101 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [filter] on top of the object stack. 11:13:44,101 |-INFO in ch.qos.logback.core.FileAppender[LSC_STATUS] - File property is set to [/var/log/lsc/lsc.status] 11:13:44,102 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender] 11:13:44,102 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [LDIF] 11:13:44,102 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack. 11:13:44,103 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - This appender no longer admits a layout as a sub-component, set an encoder instead. 11:13:44,103 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder. 11:13:44,103 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details 11:13:44,103 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [filter] on top of the object stack. 11:13:44,103 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [rollingPolicy] on top of the object stack. 11:13:44,104 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@3ecf72fd - Will use gz compression 11:13:44,104 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [triggeringPolicy] on top of the object stack. 11:13:44,105 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - Active log file name: /var/log/lsc/lsc.ldif 11:13:44,105 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - File property is set to [/var/log/lsc/lsc.ldif] 11:13:44,105 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.lsc] to INFO 11:13:44,105 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [org.lsc] to true 11:13:44,105 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [LSC] to Logger[org.lsc] 11:13:44,107 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [LSC_STATUS] to Logger[org.lsc] 11:13:44,107 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [lsc] to INFO 11:13:44,107 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [lsc] to true 11:13:44,107 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [LDIF] to Logger[lsc] 11:13:44,107 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [communicationLogger] to WARN 11:13:44,107 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [communicationLogger] to true 11:13:44,107 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[communicationLogger] 11:13:44,107 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache] to WARN 11:13:44,107 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [org.apache] to true 11:13:44,107 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[org.apache] 11:13:44,107 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [poolLogger] to WARN 11:13:44,107 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [poolLogger] to true 11:13:44,107 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[poolLogger] 11:13:44,108 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO 11:13:44,108 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[ROOT] feb 05 11:13:45 - INFO - Reflections took 238 ms to scan 1 urls, producing 55 keys and 115 values ------------------------------------------------------------------------ My logback.xml configuration file contains the following structure: ------------------------------------------------------------------------ <?xml version="1.0" ?> <lsc xmlns="http://lsc-project.org/XSD/lsc-core-2.1.xsd" revision="0"> <connections> <ldapConnection> <name>ActiveDirectory</name> <url>ldaps://srvdns01.dc01.test.mx:636/ou=wifiusers,dc=dc01,dc=wifitest,dc=mx</url> <username>cn=administrador,dc=dc01,dc=wifitest,dc=mx</username> <password>password</password> <authentication>SIMPLE</authentication> <referral>IGNORE</referral> <derefAliases>NEVER</derefAliases> <version>VERSION_3</version> <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>false</tlsActivated> </ldapConnection> <ldapConnection> <name>backendLDAP</name> <url>ldap://srvvds01:6630/o=igrupotest</url> <username>cn=directory manager</username> <password>password</password> <authentication>SIMPLE</authentication> <referral>IGNORE</referral> <derefAliases>NEVER</derefAliases> <version>VERSION_3</version> <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>false</tlsActivated> </ldapConnection> </connections> <tasks> <task> <name>ADaddUser</name> <ldapSourceService> <name>ldap-src-service</name> <connection reference="backendLDAP"/> <baseDn>cn=WifiUsers,ou=native,o=igrupotest</baseDn> <pivotAttributes> <string>cn</string> </pivotAttributes> <fetchedAttributes> <string>cn</string> <string>description</string> <string>givenName</string> <string>mail</string> <string>sn</string> <string>uid</string> <string>userpassword</string> </fetchedAttributes> <getAllFilter><![CDATA[(objectClass=inetOrgPerson)]]></getAllFilter> <getOneFilter><![CDATA[(&(objectClass=inetOrgPerson)(cn={cn}))]]></getOneFilter> <cleanFilter><![CDATA[(&(objectClass=inetOrgPerson)(cn={sAMAccountName}))]]></cleanFilter> </ldapSourceService> <ldapDestinationService> <name>ad-dst-service</name> <connection reference="ActiveDirectory"/> <baseDn>ou=wifiUsers,dc=dc01,dc=wifitest,dc=mx</baseDn> <pivotAttributes> <string>sAMAccountName</string> </pivotAttributes> <fetchedAttributes> <string>cn</string> <string>description</string> <string>givenName</string> <string>mail</string> <string>objectclass</string> <string>pwdLastSet</string> <string>sAMAccountName</string> <string>sn</string> <string>unicodePwd</string> <string>userAccountControl</string> <string>userPrincipalName</string> </fetchedAttributes> <getAllFilter><![CDATA[(objectClass=user)]]></getAllFilter> <getOneFilter><![CDATA[(&(objectClass=user)(sAMAccountName={cn}))]]></getOneFilter> </ldapDestinationService> <propertiesBasedSyncOptions> <mainIdentifier>...</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> <string>"organizationalPerson"</string> <string>"person"</string> <string>"top"</string> </createValues> </dataset> <dataset> <name>sAMAccountName</name> <policy>KEEP</policy> <createValues> <string>srcBean.getDatasetFirstValueById("cn")</string> </createValues> </dataset> <dataset> <!-- userPrincipalName = cn + "@wifitest.mx" --> <name>userPrincipalName</name> <policy>FORCE</policy> <forceValues> <string>srcBean.getDatasetFirstValueById("cn") + "@wifitest.mx"</string> </forceValues> </dataset> <dataset> <name>userAccountControl</name> <policy>KEEP</policy> <createValues> <string>AD.userAccountControlSet( "0", [AD.UAC_SET_NORMAL_ACCOUNT])</string> </createValues> </dataset> <dataset> <!-- pwdLastSet = 0 to force user to change password on next connection --> <name>pwdLastSet</name> <policy>KEEP</policy> <createValues> <string>"1"</string> </createValues> </dataset> <dataset> <!-- unicodePwd = "changeit" at creation (requires SSL connection to AD) --> <name>unicodePwd</name> <policy>KEEP</policy> <createValues> <string>AD.getUnicodePwd("changeit")</string> </createValues> </dataset> </propertiesBasedSyncOptions> </task> </tasks> </lsc> ------------------------------------------------------------------------ > Message: 2 > Date: Thu, 04 Feb 2016 16:49:31 -0600 > From: Ivan Azarel Altamirano Calvario <[email protected]> > Subject: [lsc-users] LSC-plugin don't start > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset="UTF-8" > > Hi everybody, > > I looked for a LDAP/Active Directory integration solution and I found > LSC plugin. > > Since I known this tool, I adjusted the xml configuration file to work > with my test environment and I don't get a functional proof of concept. > > When I launch "/usr/bin/lsc -f /etc/lsc/ldap2ad/ -s all -c all -n", some > errors are displayed in the command line: > > ------------------------------------------------------------------------- > feb 04 16:37:15 - ERROR - Defined configuration location > (/etc/lsc/ldap2ad) points to a non existing LSC configured instance. LSC > configuration loading will fail ! > Error: java.lang.RuntimeException: Defined configuration location > (/etc/lsc/ldap2ad) points to a non existing LSC configured instance. LSC > configuration loading will fail ! > java.lang.RuntimeException: Defined configuration location > (/etc/lsc/ldap2ad) points to a non existing LSC configured instance. LSC > configuration loading will fail ! > at org.lsc.Configuration.setUp(Configuration.java:474) > at org.lsc.Configuration.setUp(Configuration.java:456) > at org.lsc.Launcher.run(Launcher.java:205) > at org.lsc.Launcher.launch(Launcher.java:158) > at org.lsc.Launcher.main(Launcher.java:141) > ------------------------------------------------------------------------- > > and previusly to it: > > ------------------------------------------------------------------------- > 16:37:15,108 |-INFO in ch.qos.logback.classic.LoggerContext[default] - > Could NOT find resource [logback-test.xml] > 16:37:15,108 |-INFO in ch.qos.logback.classic.LoggerContext[default] - > Found resource [logback.xml] at [file:/etc/lsc/logback.xml] > 16:37:15,109 |-WARN in ch.qos.logback.classic.LoggerContext[default] - > Resource [logback.xml] occurs multiple times on the classpath. > 16:37:15,109 |-WARN in ch.qos.logback.classic.LoggerContext[default] - > Resource [logback.xml] occurs at [file:/etc/lsc/logback.xml] > 16:37:15,109 |-WARN in ch.qos.logback.classic.LoggerContext[default] - > Resource [logback.xml] occurs at > [jar:file:/usr/lib/lsc/lsc-core-2.1.3.jar!/logback.xml] > 16:37:15,241 |-INFO in > ch.qos.logback.classic.joran.action.ConfigurationAction - debug > attribute not set > 16:37:15,292 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > About to instantiate appender of type > [ch.qos.logback.core.ConsoleAppender] > 16:37:15,297 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > Naming appender as [CONSOLE] > 16:37:15,355 |-INFO in > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > component [encoder] on top of the object stack. > 16:37:15,410 |-INFO in > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > component [layout] on top of the object stack. > 16:37:15,516 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > About to instantiate appender of type > [ch.qos.logback.core.rolling.RollingFileAppender] > 16:37:15,519 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > Naming appender as [LSC] > 16:37:15,534 |-INFO in > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > component [layout] on top of the object stack. > 16:37:15,534 |-WARN in > ch.qos.logback.core.rolling.RollingFileAppender[LSC] - This appender no > longer admits a layout as a sub-component, set an encoder instead. > 16:37:15,534 |-WARN in > ch.qos.logback.core.rolling.RollingFileAppender[LSC] - To ensure > compatibility, wrapping your layout in LayoutWrappingEncoder. > 16:37:15,534 |-WARN in > ch.qos.logback.core.rolling.RollingFileAppender[LSC] - See also > http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details > 16:37:15,536 |-INFO in > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > component [filter] on top of the object stack. > 16:37:15,542 |-INFO in > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > component [rollingPolicy] on top of the object stack. > 16:37:15,564 |-INFO in > ch.qos.logback.core.rolling.FixedWindowRollingPolicy@64c64813 - Will use > gz compression > 16:37:15,567 |-INFO in > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > component [triggeringPolicy] on top of the object stack. > 16:37:15,601 |-INFO in > ch.qos.logback.core.rolling.RollingFileAppender[LSC] - Active log file > name: /var/log/lsc/lsc.log > 16:37:15,601 |-INFO in > ch.qos.logback.core.rolling.RollingFileAppender[LSC] - File property is > set to [/var/log/lsc/lsc.log] > 16:37:15,602 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > About to instantiate appender of type [ch.qos.logback.core.FileAppender] > 16:37:15,602 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > Naming appender as [LSC_STATUS] > 16:37:15,603 |-INFO in > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > component [layout] on top of the object stack. > 16:37:15,603 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] - > This appender no longer admits a layout as a sub-component, set an > encoder instead. > 16:37:15,603 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] - To > ensure compatibility, wrapping your layout in LayoutWrappingEncoder. > 16:37:15,603 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] - > See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for > details > 16:37:15,604 |-INFO in > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > component [filter] on top of the object stack. > 16:37:15,604 |-INFO in ch.qos.logback.core.FileAppender[LSC_STATUS] - > File property is set to [/var/log/lsc/lsc.status] > 16:37:15,604 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > About to instantiate appender of type > [ch.qos.logback.core.rolling.RollingFileAppender] > 16:37:15,604 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > Naming appender as [LDIF] > 16:37:15,604 |-INFO in > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > component [layout] on top of the object stack. > 16:37:15,605 |-WARN in > ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - This appender no > longer admits a layout as a sub-component, set an encoder instead. > 16:37:15,605 |-WARN in > ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - To ensure > compatibility, wrapping your layout in LayoutWrappingEncoder. > 16:37:15,605 |-WARN in > ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - See also > http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details > 16:37:15,605 |-INFO in > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > component [filter] on top of the object stack. > 16:37:15,606 |-INFO in > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > component [rollingPolicy] on top of the object stack. > 16:37:15,606 |-INFO in > ch.qos.logback.core.rolling.FixedWindowRollingPolicy@3ecf72fd - Will use > gz compression > 16:37:15,607 |-INFO in > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > component [triggeringPolicy] on top of the object stack. > 16:37:15,607 |-INFO in > ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - Active log file > name: /var/log/lsc/lsc.ldif > 16:37:15,607 |-INFO in > ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - File property is > set to [/var/log/lsc/lsc.ldif] > 16:37:15,607 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > - Setting level of logger [org.lsc] to INFO > 16:37:15,607 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > - Setting additivity of logger [org.lsc] to true > 16:37:15,607 |-INFO in > ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender > named [LSC] to Logger[org.lsc] > 16:37:15,621 |-INFO in > ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender > named [LSC_STATUS] to Logger[org.lsc] > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > - Setting level of logger [lsc] to INFO > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > - Setting additivity of logger [lsc] to true > 16:37:15,621 |-INFO in > ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender > named [LDIF] to Logger[lsc] > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > - Setting level of logger [communicationLogger] to WARN > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > - Setting additivity of logger [communicationLogger] to true > 16:37:15,621 |-INFO in > ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender > named [CONSOLE] to Logger[communicationLogger] > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > - Setting level of logger [org.apache] to WARN > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > - Setting additivity of logger [org.apache] to true > 16:37:15,621 |-INFO in > ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender > named [CONSOLE] to Logger[org.apache] > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > - Setting level of logger [poolLogger] to WARN > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > - Setting additivity of logger [poolLogger] to true > 16:37:15,621 |-INFO in > ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender > named [CONSOLE] to Logger[poolLogger] > 16:37:15,621 |-INFO in > ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of > ROOT logger to INFO > 16:37:15,621 |-INFO in > ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender > named [CONSOLE] to Logger[ROOT] > ------------------------------------------------------------------------- > > at this point, I followed the installation guide and "Populating Active > Directory from OpenLDAP" tutorial > > Can some one help me to resolve the issue with my LSC configuration > file? > > > > Thanks, > > Ivan > > > > > ------------------------------ > > Message: 3 > Date: Fri, 5 Feb 2016 10:03:18 +0100 > From: Cl?ment OUDOT <[email protected]> > Subject: Re: [lsc-users] LSC-plugin don't start > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=windows-1252; format=flowed > > > > Le 04/02/2016 23:49, Ivan Azarel Altamirano Calvario a ?crit : > > Hi everybody, > > > > I looked for a LDAP/Active Directory integration solution and I found > > LSC plugin. > > > > Since I known this tool, I adjusted the xml configuration file to work > > with my test environment and I don't get a functional proof of concept. > > > > When I launch "/usr/bin/lsc -f /etc/lsc/ldap2ad/ -s all -c all -n", some > > errors are displayed in the command line: > > > > ------------------------------------------------------------------------- > > feb 04 16:37:15 - ERROR - Defined configuration location > > (/etc/lsc/ldap2ad) points to a non existing LSC configured instance. LSC > > configuration loading will fail ! > > Error: java.lang.RuntimeException: Defined configuration location > > (/etc/lsc/ldap2ad) points to a non existing LSC configured instance. LSC > > configuration loading will fail ! > > java.lang.RuntimeException: Defined configuration location > > (/etc/lsc/ldap2ad) points to a non existing LSC configured instance. LSC > > configuration loading will fail ! > > at org.lsc.Configuration.setUp(Configuration.java:474) > > at org.lsc.Configuration.setUp(Configuration.java:456) > > at org.lsc.Launcher.run(Launcher.java:205) > > at org.lsc.Launcher.launch(Launcher.java:158) > > at org.lsc.Launcher.main(Launcher.java:141) > > ------------------------------------------------------------------------- > > > > and previusly to it: > > > > ------------------------------------------------------------------------- > > 16:37:15,108 |-INFO in ch.qos.logback.classic.LoggerContext[default] - > > Could NOT find resource [logback-test.xml] > > 16:37:15,108 |-INFO in ch.qos.logback.classic.LoggerContext[default] - > > Found resource [logback.xml] at [file:/etc/lsc/logback.xml] > > 16:37:15,109 |-WARN in ch.qos.logback.classic.LoggerContext[default] - > > Resource [logback.xml] occurs multiple times on the classpath. > > 16:37:15,109 |-WARN in ch.qos.logback.classic.LoggerContext[default] - > > Resource [logback.xml] occurs at [file:/etc/lsc/logback.xml] > > 16:37:15,109 |-WARN in ch.qos.logback.classic.LoggerContext[default] - > > Resource [logback.xml] occurs at > > [jar:file:/usr/lib/lsc/lsc-core-2.1.3.jar!/logback.xml] > > 16:37:15,241 |-INFO in > > ch.qos.logback.classic.joran.action.ConfigurationAction - debug > > attribute not set > > 16:37:15,292 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > > About to instantiate appender of type > > [ch.qos.logback.core.ConsoleAppender] > > 16:37:15,297 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > > Naming appender as [CONSOLE] > > 16:37:15,355 |-INFO in > > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > > component [encoder] on top of the object stack. > > 16:37:15,410 |-INFO in > > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > > component [layout] on top of the object stack. > > 16:37:15,516 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > > About to instantiate appender of type > > [ch.qos.logback.core.rolling.RollingFileAppender] > > 16:37:15,519 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > > Naming appender as [LSC] > > 16:37:15,534 |-INFO in > > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > > component [layout] on top of the object stack. > > 16:37:15,534 |-WARN in > > ch.qos.logback.core.rolling.RollingFileAppender[LSC] - This appender no > > longer admits a layout as a sub-component, set an encoder instead. > > 16:37:15,534 |-WARN in > > ch.qos.logback.core.rolling.RollingFileAppender[LSC] - To ensure > > compatibility, wrapping your layout in LayoutWrappingEncoder. > > 16:37:15,534 |-WARN in > > ch.qos.logback.core.rolling.RollingFileAppender[LSC] - See also > > http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details > > 16:37:15,536 |-INFO in > > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > > component [filter] on top of the object stack. > > 16:37:15,542 |-INFO in > > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > > component [rollingPolicy] on top of the object stack. > > 16:37:15,564 |-INFO in > > ch.qos.logback.core.rolling.FixedWindowRollingPolicy@64c64813 - Will use > > gz compression > > 16:37:15,567 |-INFO in > > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > > component [triggeringPolicy] on top of the object stack. > > 16:37:15,601 |-INFO in > > ch.qos.logback.core.rolling.RollingFileAppender[LSC] - Active log file > > name: /var/log/lsc/lsc.log > > 16:37:15,601 |-INFO in > > ch.qos.logback.core.rolling.RollingFileAppender[LSC] - File property is > > set to [/var/log/lsc/lsc.log] > > 16:37:15,602 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > > About to instantiate appender of type [ch.qos.logback.core.FileAppender] > > 16:37:15,602 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > > Naming appender as [LSC_STATUS] > > 16:37:15,603 |-INFO in > > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > > component [layout] on top of the object stack. > > 16:37:15,603 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] - > > This appender no longer admits a layout as a sub-component, set an > > encoder instead. > > 16:37:15,603 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] - To > > ensure compatibility, wrapping your layout in LayoutWrappingEncoder. > > 16:37:15,603 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] - > > See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for > > details > > 16:37:15,604 |-INFO in > > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > > component [filter] on top of the object stack. > > 16:37:15,604 |-INFO in ch.qos.logback.core.FileAppender[LSC_STATUS] - > > File property is set to [/var/log/lsc/lsc.status] > > 16:37:15,604 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > > About to instantiate appender of type > > [ch.qos.logback.core.rolling.RollingFileAppender] > > 16:37:15,604 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - > > Naming appender as [LDIF] > > 16:37:15,604 |-INFO in > > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > > component [layout] on top of the object stack. > > 16:37:15,605 |-WARN in > > ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - This appender no > > longer admits a layout as a sub-component, set an encoder instead. > > 16:37:15,605 |-WARN in > > ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - To ensure > > compatibility, wrapping your layout in LayoutWrappingEncoder. > > 16:37:15,605 |-WARN in > > ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - See also > > http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details > > 16:37:15,605 |-INFO in > > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > > component [filter] on top of the object stack. > > 16:37:15,606 |-INFO in > > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > > component [rollingPolicy] on top of the object stack. > > 16:37:15,606 |-INFO in > > ch.qos.logback.core.rolling.FixedWindowRollingPolicy@3ecf72fd - Will use > > gz compression > > 16:37:15,607 |-INFO in > > ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing > > component [triggeringPolicy] on top of the object stack. > > 16:37:15,607 |-INFO in > > ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - Active log file > > name: /var/log/lsc/lsc.ldif > > 16:37:15,607 |-INFO in > > ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - File property is > > set to [/var/log/lsc/lsc.ldif] > > 16:37:15,607 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > > - Setting level of logger [org.lsc] to INFO > > 16:37:15,607 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > > - Setting additivity of logger [org.lsc] to true > > 16:37:15,607 |-INFO in > > ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender > > named [LSC] to Logger[org.lsc] > > 16:37:15,621 |-INFO in > > ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender > > named [LSC_STATUS] to Logger[org.lsc] > > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > > - Setting level of logger [lsc] to INFO > > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > > - Setting additivity of logger [lsc] to true > > 16:37:15,621 |-INFO in > > ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender > > named [LDIF] to Logger[lsc] > > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > > - Setting level of logger [communicationLogger] to WARN > > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > > - Setting additivity of logger [communicationLogger] to true > > 16:37:15,621 |-INFO in > > ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender > > named [CONSOLE] to Logger[communicationLogger] > > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > > - Setting level of logger [org.apache] to WARN > > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > > - Setting additivity of logger [org.apache] to true > > 16:37:15,621 |-INFO in > > ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender > > named [CONSOLE] to Logger[org.apache] > > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > > - Setting level of logger [poolLogger] to WARN > > 16:37:15,621 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction > > - Setting additivity of logger [poolLogger] to true > > 16:37:15,621 |-INFO in > > ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender > > named [CONSOLE] to Logger[poolLogger] > > 16:37:15,621 |-INFO in > > ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of > > ROOT logger to INFO > > 16:37:15,621 |-INFO in > > ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender > > named [CONSOLE] to Logger[ROOT] > > ------------------------------------------------------------------------- > > > > at this point, I followed the installation guide and "Populating Active > > Directory from OpenLDAP" tutorial > > > > Can some one help me to resolve the issue with my LSC configuration > > file? > > > > Hi, > > what files are present in /etc/lsc/ldap2ad ? You need at least lsc.xml > and logback.xml. _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

