Add your basedn to basedn (eg: `echo o=denkn,c=at > basedn`). 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 chown -R openldap:openldap /var/lib/ldap/ Now you can start slapd with your fresh config. Add these lines to `/etc/ldap/ldap.conf`: cat >> /etc/ldap/ldap.conf <