summaryrefslogtreecommitdiff
path: root/core/openldap/openldap.install
diff options
context:
space:
mode:
Diffstat (limited to 'core/openldap/openldap.install')
-rw-r--r--core/openldap/openldap.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/openldap/openldap.install b/core/openldap/openldap.install
index cf3cb9f25..a34ca1a10 100644
--- a/core/openldap/openldap.install
+++ b/core/openldap/openldap.install
@@ -1,4 +1,5 @@
post_install(){
+ systemd-tmpfiles --create slapd.conf
groupadd -g 439 ldap &>/dev/null
useradd -u 439 -g ldap -d /var/lib/openldap -s /bin/false ldap &>/dev/null
chown -R ldap:ldap var/lib/openldap &>/dev/null