summaryrefslogtreecommitdiffstats
path: root/main/openldap/openldap.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/openldap/openldap.post-install')
-rw-r--r--main/openldap/openldap.post-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/openldap/openldap.post-install b/main/openldap/openldap.post-install
new file mode 100644
index 000000000..1d6affdfe
--- /dev/null
+++ b/main/openldap/openldap.post-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+chown -R ldap:ldap /var/lib/openldap /var/run/openldap
+chgrp ldap /etc/openldap/slapd.conf