ubuntu (lucid) - clearing/flushing/purging slapd
Hi!
I'd like to clear the slapd DB so that I could reinstall it from scratch, however, when I remove the package and reinstall it, I still get some items in there. How can I purge/flush/remove everything from slapd? Instructions I follow to do the set up? https://help.ubuntu.com/10.04/server...ap-server.html Thanks in advance. |
To completely remove slapd, just run the following command (this will also remove all of the configuration files):
Code:
$ sudo apt-get purge slapd |
I tried with apt-get remove --purge before. Would it have the same results? Cause that didn't work.
|
Try manually removing the ldap database. The database location is "/var/lib/ldap". You may try "rm -rf /var/lib/ldap/*"
|
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 Code:
sudo apt-get --reinstall install slapd ldap-utils 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 Thanks for all the help. |
All times are GMT -5. The time now is 10:44 PM. |