summaryrefslogtreecommitdiff
path: root/user/openldap/openldap.pre-install
blob: a98a882ae7fe8699a582d656d5c3678ee08cd13e (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh

groupadd -r ldap 2>/dev/null
useradd -c "OpenLdap User" -s /sbin/nologin -g ldap \
	-m -d /usr/lib/openldap -r ldap 2>/dev/null

exit 0