This is my first post to this forum and I know the thread is a bit old, but I am desperately trying to find the answer to this thread.
Did anybody figure out how to
completely remove slapd?
I have performed the following on an Ubuntu Server 11.04 box:
Code:
sudo apt-get --auto-remove purge -y slapd ldap-utils libnss-ldap ldapscripts unixodbc
sudo apt-get clean
sudo apt-get update
sudo rm -Rf /etc/ldap/*
sudo rm -Rf /var/lib/ldap/*
sudo rm -Rf /var/backups/*ldapdb*
then I:
Code:
sudo apt-get --reinstall install slapd ldap-utils
but I get the following when I try and do the tutorials again:
Code:
adding new entry "olcDatabase=hdb,cn=config" ldap_add: Other (e.g., implementation specific) error (80) additional info: <olcSuffix> namingContext already served by a preceding hdb database
There appears to be a tertiary copy of the database somewhere that is brought back to life even on a reinstall.
Thanks for all the help.