Commit 0e22835e authored by Natanael Copa's avatar Natanael Copa
Browse files

main/openldap create ldap group before ldap user

fixes #307
parent 1929f4d8
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openldap
pkgver=2.4.19
pkgrel=4
pkgrel=5
pkgdesc="LDAP Server"
url="http://www.openldap.org/"
license="custom"
......
#!/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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment