aboutsummaryrefslogtreecommitdiffstats
path: root/main/openldap/openldap.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/openldap/openldap.pre-install')
-rw-r--r--main/openldap/openldap.pre-install3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/openldap/openldap.pre-install b/main/openldap/openldap.pre-install
new file mode 100644
index 0000000000..b208a9f5f2
--- /dev/null
+++ b/main/openldap/openldap.pre-install
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+adduser -h /usr/lib/openldap -s /bin/false -S -D ldap 2>/dev/null || true