问题原文
原帖链接 · rsabir · CC BY-SA 3.0
I'm facing a problem and I don't know how to solve it. In fact, I have done some ldapadd and I've realised that I need to delete all things from the server. So what I've tested is to reinstall yum but it doesn't solve my problem because the contents remains even if openldap-servers is removed. I know that with ldapdelete I can delete entries one by one but I was hoping for something like dpkg-reconfigure. So how can I solve my problem?
已采纳解答
原帖链接 · ALex_hha · CC BY-SA 3.0
If you really need to delete the whole LDAP tree with all records - you can just delete all files in /var/lib/ldap/*. The path could be distro related.
You can check the current path with
# grep ^directory /etc/openldap/slapd.conf
/var/lib/ldap
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
