Commit c30309f9 authored by Natanael Copa's avatar Natanael Copa

main/openldap create ldap group before ldap user

fixes #307
(cherry picked from commit f63149f53a3486ad23dbc1fe15400774dc9cba3e)
parent b16084f3
# 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