aboutsummaryrefslogtreecommitdiffstats
path: root/extra/openldap/openldap.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/openldap/openldap.post-install')
-rw-r--r--extra/openldap/openldap.post-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/openldap/openldap.post-install b/extra/openldap/openldap.post-install
new file mode 100644
index 0000000000..1d6affdfee
--- /dev/null
+++ b/extra/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