Hi Clement,

I think I surrender with the nis plugin :-(

Configuration and syncing of AD to Openldap works smoothly and easy, but 
the NIS plugin is obviously too much java for me.

I cannot find my fault and debugging with println raise an error "ERROR - 
Unable to load configuration ....."

Reading the examples and documentations does not help me.

Again thank you for helping so far.

Best regards

Martin



Von:    "Clément OUDOT" <[email protected]>
An:     [email protected]
Datum:  05.11.2018 14:44
Betreff:        Re: [lsc-users] Antwort: Re: Antwort: Re: Antwort: Re: 
Antwort: Re: Antwort: Re: Antwort: Re: NIS plugin and filtering
Gesendet von:   "lsc-users" <[email protected]>





Le 05/11/2018 à 14:13, Martin Röh a écrit :
Hi Clement, 

I already tried it with debug, but the output is not much more 
informative: 

[root@tasha nis2ad]# lsc -n -s all -f /etc/lsc/nis2ad/ 
14:10:04,616 |-INFO in ch.qos.logback.classic.LoggerContext[default] - 
Could NOT find resource [logback-test.xml] 
14:10:04,617 |-INFO in ch.qos.logback.classic.LoggerContext[default] - 
Found resource [logback.xml] at [file:/etc/lsc/nis2ad/logback.xml] 
14:10:04,618 |-WARN in ch.qos.logback.classic.LoggerContext[default] - 
Resource [logback.xml] occurs multiple times on the classpath. 
14:10:04,618 |-WARN in ch.qos.logback.classic.LoggerContext[default] - 
Resource [logback.xml] occurs at [file:/etc/lsc/nis2ad/logback.xml] 
14:10:04,618 |-WARN in ch.qos.logback.classic.LoggerContext[default] - 
Resource [logback.xml] occurs at [
jar:file:/usr/lib/lsc/lsc-core-2.1.4.jar!/logback.xml] 
14:10:04,760 |-INFO in 
ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute 
not set 
14:10:04,772 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - 
About to instantiate appender of type 
[ch.qos.logback.core.ConsoleAppender] 
14:10:04,778 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - 
Naming appender as [CONSOLE] 
14:10:04,835 |-INFO in 
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing 
component [layout] on top of the object stack. 
14:10:04,932 |-WARN in ch.qos.logback.core.ConsoleAppender[CONSOLE] - This 
appender no longer admits a layout as a sub-component, set an encoder 
instead. 
14:10:04,932 |-WARN in ch.qos.logback.core.ConsoleAppender[CONSOLE] - To 
ensure compatibility, wrapping your layout in LayoutWrappingEncoder. 
14:10:04,932 |-WARN in ch.qos.logback.core.ConsoleAppender[CONSOLE] - See 
also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details 
14:10:04,932 |-INFO in 
ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of 
ROOT logger to DEBUG 
14:10:04,933 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction 
- Attaching appender named [CONSOLE] to Logger[ROOT] 

Nov 05 14:10:05 - DEBUG - Loading XML configuration from: 
/etc/lsc/nis2ad/lsc.xml 
Nov 05 14:10:05 - DEBUG - going to scan these urls: 
jar:file:/usr/lib/lsc/lsc-nis-plugin-1.0.jar!/ 
jar:file:/usr/lib/lsc/lsc-core-2.1.4.jar!/ 
Nov 05 14:10:05 - INFO  - Reflections took 367 ms to scan 2 urls, 
producing 57 keys and 125 values 
Nov 05 14:10:05 - DEBUG - Importing XML schema file: 
schemas/lsc-core-2.1.xsd 
Nov 05 14:10:05 - DEBUG - Importing XML schema file: 
schemas/lsc-nis-plugin-1.0.xsd 
Nov 05 14:10:06 - INFO  - Logging configuration successfully loaded from 
/etc/lsc/nis2ad/logback.xml 
Nov 05 14:10:06 - INFO  - LSC configuration successfully loaded from 
/etc/lsc/nis2ad/ 
Nov 05 14:10:06 - INFO  - Connecting to LDAP server 
ldap://tasha.ppi.int:389/dc=ppi,dc=org as cn=ldapadmin,dc=ppi,dc=org 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
1.3.6.1.4.1.18060.0.0.1 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
2.16.840.1.113730.3.4.7 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
2.16.840.1.113730.3.4.2 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
1.2.840.113556.1.4.319 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
2.16.840.1.113730.3.4.3 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
1.3.6.1.4.1.4203.1.10.1 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
1.3.6.1.4.1.18060.0.0.1 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
2.16.840.1.113730.3.4.7 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
2.16.840.1.113730.3.4.2 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
1.2.840.113556.1.4.319 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
2.16.840.1.113730.3.4.3 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
1.3.6.1.4.1.4203.1.10.1 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
1.3.6.1.4.1.42.2.27.8.5.1 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
1.3.6.1.4.1.4203.1.9.1.3 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
1.3.6.1.4.1.4203.1.9.1.4 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
1.3.6.1.4.1.4203.1.9.1.1 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
1.3.6.1.4.1.4203.1.9.1.2 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
1.2.840.113556.1.4.473 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
1.2.840.113556.1.4.474 
Nov 05 14:10:06 - INFO  - Registered pre-bundled control factory: 
1.2.840.113556.1.4.841 
Nov 05 14:10:06 - INFO  - Registered pre-bundled extended operation 
factory: 1.3.6.1.1.8 
Nov 05 14:10:06 - INFO  - Registered pre-bundled extended operation 
factory: 1.3.6.1.4.1.18060.0.1.8 
Nov 05 14:10:06 - INFO  - Registered pre-bundled extended operation 
factory: 1.3.6.1.4.1.18060.0.1.3 
Nov 05 14:10:06 - INFO  - Registered pre-bundled extended operation 
factory: 1.3.6.1.4.1.18060.0.1.6 
Nov 05 14:10:06 - INFO  - Registered pre-bundled extended operation 
factory: 1.3.6.1.4.1.18060.0.1.5 
Nov 05 14:10:06 - INFO  - Registered pre-bundled extended operation 
factory: 1.3.6.1.4.1.4203.1.11.1 
Nov 05 14:10:06 - INFO  - Registered pre-bundled extended operation 
factory: 1.3.6.1.4.1.4203.1.11.3 
Nov 05 14:10:06 - INFO  - Registered pre-bundled extended operation 
factory: 1.3.6.1.4.1.1466.20037 
Nov 05 14:10:06 - INFO  - Starting sync for NIS2LDAP-User-SyncTask 
Nov 05 14:10:06 - DEBUG - Connecting to the NIS domain ... 
Nov 05 14:10:06 - DEBUG - Retrieving the information ... 
Nov 05 14:10:06 - DEBUG - Closing context ... 
Nov 05 14:10:11 - INFO  - All entries: 950, to modify entries: 0, 
successfully modified entries: 0, errors: 0 

Is it possible to put some output statements in the lsc.xml for debugging 
?

You can use : java.lang.System.out.println("my debug message");


-- 
Clément Oudot | Identity Solutions Manager

[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