[Date Prev][Date Next]
FW: Deleting the LDAP tree
Here is the script I came up with to do just what you are talking about.
# Stops slapd
# Removes the database files, the location of which is defined in your
# slapd.conf file, which is in /etc/openldap/
# Starts slapd
# Imports dump.ldif, which is a ldif file, into the new database to
# populate it
/usr/sbin/slapadd -l /data/openldaptemp/dump.ldif
From: Scott Mayo [mailto:email@example.com]
Sent: Wednesday, June 22, 2005 11:02 AM
Subject: Deleting the LDAP tree
If I want to delete the whole ldap tree to start out new, what do I need
to do? Can I just locate the database files and delete them? If so,
then where are they located.
Pager: 800-264-2535 X2549
Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.