Le 21/03/2019 à 09:29, Jonathan Kobain a écrit :
> Hi !
>
> First, our setup environement :
> - Debian : Debian 9 Stretch
> - Samba : 4.9.4
> - LSC Connector : 2.1.4-1
> - Java version : openjdk version "1.8.0_181"
> with an OpenLDAP ...
>
> The LSC-Connector works perfectly now and the asynchronous mode too ...
>
> #lsc -t1 -f /etc/lsc/openldap2ad -s all -c all -n
> mars 21 09:17:00 - INFO  - Logging configuration successfully loaded
> from /etc/lsc/openldap2ad/logback.xml
> mars 21 09:17:00 - INFO  - LSC configuration successfully loaded from
> /etc/lsc/openldap2ad/
> mars 21 09:17:00 - INFO  - Connecting to LDAP server
> ldap://dc1.xxxxxxx:389/dc=xxxx,dc=xxxx,dc=xxxx as xxxx@xxxxx with
> STARTTLS extended operation
> mars 21 09:17:01 - INFO  - Connecting to LDAP server
> ldap://xxx.xxx.xxx.xxx:389/dc=xxx,dc=xxx,dc=xx as
> uid=xxxx,ou=xxxx,ou=comptes,dc=xxxx,dc=xxxx,dc=xxx
> mars 21 09:17:01 - INFO  - Starting sync for adUser_etudiant
> .................
> ................
> idem with the adUser_personnel task.
>
> Now, our aim is to have lsc as a service ... but, we have a problem
> during the configtest file :
>
> # /etc/init.d/lsc configtest
> lsc: [INFO] Using /etc/default/lsc for configuration
> lsc: [INFO] Launching LSC configuration test...
> lsc: [ALERT] LSC configuration test failed
>
> The config file content :
> # LSC installation
> LSC_BIN="/usr/bin/lsc"
> LSC_CFG_DIR="/etc/lsc"
> LSC_USER="lsc"
> LSC_GROUP="lsc"
> LSC_PID_FILE="/var/run/lsc.pid"
> LSC_TASKS="all"
>
> # JMX
> LSC_JMXPORT="1099"
>
> # JAVA
> #JAVA_HOME="/usr/bin/java"
>
> We tried with the JAVA_HOME uncommented but same problem ...
> Into the log, no more information ...
>
> What can i do the find the problem with the configfile ?
> Our aim : 2 daemons : one for the adUser_etudiant task and one for the
> adUser_personnel task.
>
> Thank you for your help.


Hello,

check rights on /etc/lsc/openldap2ad. The user/group lsc must have read
access to it.


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