We need this also to have proper permissions on certs

This commit is contained in:
Alexandre Aubin 2019-08-12 11:15:00 +02:00
parent dde3a19350
commit 0a2d1c7eb6

View file

@ -15,6 +15,7 @@ do_init_regen() {
# fix some permissions # fix some permissions
chown root:openldap /etc/ldap/slapd.conf chown root:openldap /etc/ldap/slapd.conf
chown -R openldap:openldap /etc/ldap/schema/ chown -R openldap:openldap /etc/ldap/schema/
usermod -aG ssl-cert openldap
# check the slapd config file at first # check the slapd config file at first
slaptest -Q -u -f /etc/ldap/slapd.conf slaptest -Q -u -f /etc/ldap/slapd.conf