[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
slapd crashes when accessing accesslog
Howard Chu wrote:
>
> You must initialize the database, the accesslog overlay doesn't do it
> for you. That is, you must create the suffix entry (cn=accesslog) for
> the database, just as you would for any other database.
Played with it:
Subordinate eEntries are appearing under my ou=accesslog but more than
one search operation with web2ldap crashes slapd OPENLDAP_REL_ENG_2_3.
It does not happen with command-line tools. :-/
I've tracked it down somewhat: It has to do with an abandon I was
sending after retrieving partial search results. If I don't send the
abandon request after search/result slapd does not crash. (Well, I will
think about whether it's reasonable to abandon the search but slapd
should not crash.)
I can provide detailed logs if necessary.
Should I try with HEAD or is it a known issue?
Note: web2ldap uses python-ldap which is a wrapper around the OpenLDAP
libs. I could provide debug logs of OpenLDAP libs.
Ciao, Michael.
######################################################################
# ou=accesslog
#######################################################################
database bdb
suffix "ou=accesslog"
directory /var/openldap/2.3/accesslog
rootdn "cn=root,ou=accesslog"
rootpw secret
lastmod on
index reqStart eq
schemacheck on
checkpoint 200 5
# Entries to cache in memory
cachesize 500
# Search results to cache in memory
idlcachesize 50
sizelimit -1