Michael Ströder wrote:
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?

Try with HEAD first, it doesn't sound familiar. File an ITS if it crashes there.
Note: web2ldap uses python-ldap which is a wrapper around the OpenLDAP
libs. I could provide debug logs of OpenLDAP libs.

Since the crash is in slapd, it shouldn't make any difference what libs you used on the client side.

You
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




--
 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/

Reply via email to