Hi !
It's works now !
We have create 2 services (lsc-adUser_etudiant.service &
lsc-adUser_personnel.service) and it's good !
lsc-adUser_etudiant.service :
[Unit]
Description=LSC sync des comptes etudiants
After=network.target

[Service]
PrivateTmp=true
PIDFile=/run/lsc.pid
Type=oneshot
#Environment=JAVA_HOME=/usr/jvm/lib/latest
User=lsc
Group=lsc
ExecStart=/usr/bin/lsc -t1 -a adUser_etudiant -f /etc/lsc/openldap2ad &

[Install]
WantedBy=multi-user.target

The lsc.service is really needed now ?


Le jeu. 21 mars 2019 à 20:01, Clément OUDOT <[email protected]> a
écrit :

>
> Le 21/03/2019 à 10:32, Jonathan Kobain a écrit :
> > Thank you for the reply ....
> >
> > root@dc1:/etc/lsc# ls -lha
> > drwxr-xr-x  2 root root 4,0K mars  21 09:26 openldap2ad
> >
> > I need to chown the folder openldap2ad like chown -R lsc:lsc openldap2ad
> ?
> >
>
> No if all files inside the directory can be read by lsc user.
>
> After looking at your service default configuration, I see you did not
> update "LSC_CFG_DIR". You must define here the LSC configuration directory.
>
>
>
> --
> 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