the content not /var/lib/ldap itself

master
Denis Knauf 2018-03-29 23:09:08 +02:00
parent 874111a66b
commit 36bd698cbc
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
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:
./00.root.ldif.sh | slapadd -b `cat basedn` -v