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 <> # Maintainer: Natanael Copa <>
pkgname=openldap pkgname=openldap
pkgver=2.4.19 pkgver=2.4.19
pkgrel=4 pkgrel=5
pkgdesc="LDAP Server" pkgdesc="LDAP Server"
url="" url=""
license="custom" license="custom"
#!/bin/sh #!/bin/sh
adduser -h /usr/lib/openldap -s /bin/false -S -D ldap 2>/dev/null addgroup -S ldap 2>/dev/null
addgroup ldap adduser -h /usr/lib/openldap -s /bin/false -S -D -H -g "OpenLdap User" \
-G ldap ldap 2>/dev/null
exit 0 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