How to remove openldap in fedora 30

I messed up my config and I wanted to remove openldap to start from a clean env. So here what I did:

systemctl stop slapd
systemctl disable slapd
yum -y remove openldap-servers openldap-clients
rm -rf /var/lib/ldap
userdel ldap
rm -rf /etc/openldap

..that's it. This post is for the next time to remember this shit.

Comments