[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: problem in clearing ldap cache



At 10:31 PM 2002-08-04, Neelam Salaria wrote:
>Hello everyone, 
>I had an earlier implementaion of ldap on linux redhat 7.0 server
>Now I have upgraded to linux 7.2 and upgraded the openldap to openldap-2.0.21-1

2.0.25 is the latest stable.

>I would like to change the entire database , even after deleting the dir /var/lib/ldap that contains the data base ( I have an ldbm data base) and even commenting the dn entries in the ldap file the ldap search still returns all the entries, 
>In this if I want to add any entry it says entry already exists but  from any windows OE or Outlook cleint if I try the same search it says no such entry on the server. 
>can anyone tell me how to empty the ldap cache?
>I want to put the entire database afresh
>Even after rebooting the server, ldapsearch still returns all the entries.

The proper way to start from scratch is:
        1) kill slapd
        2) remove contains of database directory (as
        specified in slapd.conf(5))
        3) start slapd

Kurt