How can I create startover with an empty db with open LDAP?

Posted on 2008-11-05
Last Modified: 2013-12-24
see tittle of question.
Question by:howart
    LVL 61

    Assisted Solution

    remove all the files in data directory and slapd or slapadd will create new ones. slapcat-ing old database can dump older version database too.
    LVL 2

    Accepted Solution

    # /etc/init.d/ldap stop
    # mv /var/lib/ldap /var/lib/ldap.bak
    # mkdir /var/lib/ldap
    # chown ldap /var/lib/ldap
    # chmod 700 /var/lib/ldap
    # /etc/init.d/ldap start
    LVL 1

    Author Comment

    Thanks, but have no time too test the solution.
    Will assign points when I done the test.
    Thanks for now

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
    #Citrix #Citrix Netscaler #HTTP Compression #Load Balance
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now