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

Re: Search fails after "re-adding" an entry



Philipp Sacha wrote:
Hi,

i am running openldap 2.2.23 with Berkeley DB 4.3.27. After adding an
entry, deleting this entry and again adding this entry a search with
the dn as searchbase and a filter "objectclass=*" returns nothing.

When searching with searchbase defined by suffix in slapd.conf and
another filter like mail=<address> the data for that entry are
returned as expected.
[...]

I have discovered that the mentioned problem disappears when i changed the setting for idlcachesize to 0. Previously it was set to 10000. So it seems that the in-memory index cache is not properly updated when an entry is deleted and then added again. Is there a way to view or dump the contents of the in-memory index cache?

Regards,
Philipp