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

Re: slapd cores



I'm positive the issue is caused by the "index" directives coming __after__ overlay instantiation, while they belong to the database configuration. This issue has been fixed in HEAD/2.4 by partially redesigning the way configuration is parsed, but it is not possible (I mean: not worth the effort) to fix in 2.3, since it essentially appears as a configuration error (configuration order matters).

p.

Dmitriy Kirhlarov wrote:
On Wed, May 02, 2007 at 01:17:24PM -0700, Quanah Gibson-Mount wrote:

--On April 27, 2007 12:02:16 PM +0400 Dmitriy Kirhlarov <dkirhlarov@oilspace.com> wrote:


On Tue, Apr 24, 2007 at 07:38:56PM +0400, Timur Izhbulatov wrote:

I'm using openldap-server-2.3.35 on FreeBSD 6.2-STABLE (Feb 19).
I have reproduceble crash of slapd on this host. But I can't
reproduce it on other server (FreeBSD 6.1-STABLE Aug 2).
Database is fine (I dump and restore it), changing thread library
doesn't help too.
We find problem -- unique overlay.

When we remove this strings:

overlay unique
unique_base           ou=users,o=oilspace
unique_attributes     mail

problem is gone.
I tried add "unique_strict" but it doesn't help.
Did you make sure the overlay directives came at the very end of the database configuration section? I've used unique for a long time with no issues.

I'm sorry for long pause. databases description in slapd.conf: --------------------- # log database database bdb suffix "o=oilspace-log" rootdn "cn=ldapadm,o=oilspace-log" rootpw XXXXXXXXXXXXXXX directory /var/db/openldap-data/oilspace-log checkpoint 32 8

# main database
database        bdb
suffix          "o=oilspace"
rootdn          "cn=ldapadm,o=oilspace"
rootpw          XXXXXXXXXXXXXXX
directory       /var/db/openldap-data/oilspace
checkpoint      32 8

overlay accesslog
logdb           o=oilspace-log
logops          writes
logold          (objectClass=*)
logsuccess      false
logpurge        182+00:00 1+00:00

overlay unique
unique_base           ou=users,o=oilspace
unique_attributes     mail

overlay syncprov
syncprov-checkpoint     100 10
syncprov-sessionlog     100
index   uid,sn,cn                                               eq
index   uidNumber,gidNumber,entryUUID                           eq
index   objectClass                                             eq
index   displayName
pres,sub,eq
index   sambaSid                                                eq
index   sambaPrimaryGroupSID                                    eq
index   sambaDomainName                                         eq
index   default                                                 sub
index   memberUid                                               eq
index   mail                                                    eq
index   uniqueMember                                            eq
index   entryCSN                                                eq
index   reqStart                                                eq
---------------------

WBR.
Dmitriy






Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it
---------------------------------------