Le 13/11/2018 à 10:06, Martin Röh a écrit :
> I configure it this way:
>
> <pluginSourceService
> implementationClass="org.lsc.plugins.connectors.nis.NisSrcService">
>                                 <name>nis-source-service</name>
>                                 <connection reference="nis-src-conn" />
>                                 <pivotAttributes>
>                                         <string>uid</string>
>                                 </pivotAttributes>
>                                 <nis:nisSourceServiceSettings>
>                                         <name>nis-src-service</name>
>                                         <connection
> reference="nis-src-conn" />
>                                         <nis:map>passwd.byname</nis:map>
>                                 </nis:nisSourceServiceSettings>
>                         </pluginSourceService>
>
> Then I get this error
>
> Nov 13 10:04:18 - INFO  - Reflections took 243 ms to scan 2 urls,
> producing 57 keys and 125 values
> Nov 13 10:04:18 - DEBUG - Importing XML schema file:
> schemas/lsc-core-2.1.xsd
> Nov 13 10:04:18 - DEBUG - Importing XML schema file:
> schemas/lsc-nis-plugin-1.0.xsd
> Nov 13 10:04:18 - INFO  - Logging configuration successfully loaded
> from /etc/lsc/nis2ad/logback.xml
> Nov 13 10:04:18 - INFO  - LSC configuration successfully loaded from
> /etc/lsc/nis2ad/
> Nov 13 10:04:18 - INFO  - Connecting to LDAP server
> ldap://hhdc003.ppi.int:389/DC=PPI,DC=INT as
> CN=ldapadm,OU=Service-Benutzer,OU=technisch,OU=Benutzer,DC=PPI,DC=INT
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.18060.0.0.1
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 2.16.840.1.113730.3.4.7
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 2.16.840.1.113730.3.4.2
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 1.2.840.113556.1.4.319
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 2.16.840.1.113730.3.4.3
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.4203.1.10.1
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.18060.0.0.1
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 2.16.840.1.113730.3.4.7
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 2.16.840.1.113730.3.4.2
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 1.2.840.113556.1.4.319
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 2.16.840.1.113730.3.4.3
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.4203.1.10.1
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.42.2.27.8.5.1
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.4203.1.9.1.3
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.4203.1.9.1.4
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.4203.1.9.1.1
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.4203.1.9.1.2
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 1.2.840.113556.1.4.473
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 1.2.840.113556.1.4.474
> Nov 13 10:04:18 - INFO  - Registered pre-bundled control factory:
> 1.2.840.113556.1.4.841
> Nov 13 10:04:18 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.1.8
> Nov 13 10:04:18 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.4.1.18060.0.1.8
> Nov 13 10:04:18 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.4.1.18060.0.1.3
> Nov 13 10:04:18 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.4.1.18060.0.1.6
> Nov 13 10:04:18 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.4.1.18060.0.1.5
> Nov 13 10:04:18 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.4.1.4203.1.11.1
> Nov 13 10:04:18 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.4.1.4203.1.11.3
> Nov 13 10:04:18 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.4.1.1466.20037
> Nov 13 10:04:18 - ERROR - org.lsc.exception.LscConfigurationException:
> Configuration exception: Unable to identify the nis service
> configuration inside the plugin source node of the task:
> NIS2LDAP-User-SyncTask
> Nov 13 10:04:18 - DEBUG - org.lsc.exception.LscConfigurationException:
> Configuration exception: Unable to identify the nis service
> configuration inside the plugin source node of the task:
> NIS2LDAP-User-SyncTask
> org.lsc.exception.LscConfigurationException: Configuration exception:
> Unable to identify the nis service configuration inside the plugin
> source node of the task: NIS2LDAP-User-SyncTask
>         at org.lsc.Task.<init>(Task.java:148) ~[lsc-core-2.1.4.jar:na]
>         at org.lsc.SimpleSynchronize.init(SimpleSynchronize.java:104)
> ~[lsc-core-2.1.4.jar:na]
>         at
> org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:154)
> ~[lsc-core-2.1.4.jar:na]
>         at org.lsc.Launcher.run(Launcher.java:223)
> [lsc-core-2.1.4.jar:na]
>         at org.lsc.Launcher.launch(Launcher.java:158)
> [lsc-core-2.1.4.jar:na]
>         at org.lsc.Launcher.main(Launcher.java:141)
> [lsc-core-2.1.4.jar:na]
> Caused by: org.lsc.exception.LscServiceConfigurationException: Unable
> to identify the nis service configuration inside the plugin source
> node of the task: NIS2LDAP-User-SyncTask
>         at
> org.lsc.plugins.connectors.nis.NisSrcService.<init>(NisSrcService.java:131)~[lsc-nis-plugin-1.0.jar:na]
>
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> ~[na:1.7.0_191]
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)~[na:1.7.0_191]
>
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)~[na:1.7.0_191]
>
>         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> ~[na:1.7.0_191]
>         at org.lsc.Task.<init>(Task.java:143) ~[lsc-core-2.1.4.jar:na]
>         ... 5 common frames omitted
>


Can you try to define pivotAttributes after nisSourceServiceSettings ?

-- 
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

Reply via email to