diff options
Diffstat (limited to 'main/openldap/openldap.pre-install')
-rw-r--r-- | main/openldap/openldap.pre-install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/openldap/openldap.pre-install b/main/openldap/openldap.pre-install index 7ca82b1c26..7de7c0ce33 100644 --- a/main/openldap/openldap.pre-install +++ b/main/openldap/openldap.pre-install @@ -1,5 +1,7 @@ #!/bin/sh -adduser -h /usr/lib/openldap -s /bin/false -S -D ldap 2>/dev/null -addgroup ldap +addgroup -S ldap 2>/dev/null +adduser -h /usr/lib/openldap -s /bin/false -S -D -H -g "OpenLdap User" \ + -G ldap ldap 2>/dev/null + exit 0 |