Skip to content

Removing DS Backend

Endi S. Dewata edited this page Apr 24, 2023 · 1 revision

Removing Mapping Tree

To remove the mapping tree, execute the following command:

$ ldapdelete -H ldap://$HOSTNAME -x -D "cn=Directory Manager" -w Secret.123 << EOF
cn="dc=pki,dc=example,dc=com",cn=mapping tree,cn=config
EOF

Removing Backend Instance

To remove the backend instance, execute the following command:

$ ldapdelete -H ldap://$HOSTNAME -x -D "cn=Directory Manager" -w Secret.123 << EOF
cn=pki,cn=ldbm database,cn=plugins,cn=config
EOF