summaryrefslogblamecommitdiff
path: root/user/openldap/openldap.pre-install
blob: b6bc3c7b484123b311fa4132d3a203ee72ad367c (plain) (tree)
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