the content not /var/lib/ldap itself

This commit is contained in:
Denis Knauf 2018-03-29 23:09:08 +02:00
parent 874111a66b
commit 36bd698cbc

View file

@ -1,6 +1,6 @@
Add your basedn to basedn (eg: `echo o=denkn,c=at > basedn`). Add your basedn to basedn (eg: `echo o=denkn,c=at > basedn`).
For initialization, first shutdown slapd and delete `/var/lib/ldap/` (you will loose all of your data!), For initialization, first shutdown slapd and delete the content of `/var/lib/ldap/` (you will loose all of your data!),
then use: then use:
./00.root.ldif.sh | slapadd -b `cat basedn` -v ./00.root.ldif.sh | slapadd -b `cat basedn` -v