dataset/seed/applicationservice/2022.03.08/openldap/ldap.service
Emmanuel Garette 0bfbf16152 *-server => *
2022-04-08 18:55:38 +02:00

4 lines
209 B
Desktop File

si le fichier /var/lib/ldap/cn.bdb n'existe pas !
rm -rf /var/lib/ldap/alock
rm -rf /var/lib/ldap/*.*
$CHROOT su openldap -s /bin/bash -c "slapadd -l /var/lib/ldap/${ldif} -f /etc/ldap/slapd.conf" > /dev/null