so I followed this guide: https://help.ubuntu.com/11.04/serverguide/C/openldap-server.html
to install and configure ldap but then I discoverd both phpLDAPadmin and Luma and have decided to rebuild my tree from scratch using one of those tools. However Im not sure how to completely remove LDAP now. I can remove it using apt-get, but if I attempt to reinstall it and login using phpLDAPadmin it seems that it's still looking for older authentication and gives me a credential error
A simple
sudo dpkg-reconfigure slapd
should perform the task.apt-get remove [--purge] Removes and any packages that depend on it. --purge specifies that packages should be purged
If you only want to remove the LDAP content, you can delete /var/lib/ldap/*. Please remember to keep the DB_CONFIG (if existing) file in this directory since it is important for performance tuning of the DB backend.
If you get into the error of
then you might try
As suggested here.