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

Re: (ITS#3804) SLAPD crashes on update to meta



> Full_Name: Dave Horsfall
> Version: 2.2.26
> OS: FreeBSD 4.10-STABLE
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (192.65.182.30)
>
>
> I have defined a meta-db consisting of several suffixes on the local host.
>  Due
> to poorly-written user code, it is possible for an update to happen via
> the
> meta-db instead of the real suffix.  This results in SLAPD crashing; I do
> not
> believe that it should be possible for an end-user to crash the daemon.

I concur.

>
> Message:
>
> Jun 28 13:52:07 mippet slapd[21414]: conn=791 op=1 ADD
> dn="employeeNumber=T9999,ou=Artarmon,ou=nsw,dc=AdminView"
> Jun 28 13:52:07 mippet slapd[21414]: conn=791 op=1 RESULT tag=105 err=32
> text=M-^P,A(,wE(
>
> Console:
>
> pid 21414 (slapd), uid 389: exited on signal 11
>
> I cannot get a core-dump.

Without a core dump, and without an indication of the operation that
caused it tracjing the bug down is a bit awkward.  Can you provide at
least more details on the operation (relevant slapd.conf, LDIF or
equivalent that caused the problem, or a tcp dump of the communications
between the client and the server).  My first guess by looking at the code
is that the problem occurs while adding an entry whose parent does not
exist.  Also, note that back-meta was heavily reworked since 2.3 is out,
so I'd suggest that you check if the problem persists with that version. 
Bugs in 2.2 will be fixed only if extremely required, given the very
limited usefulness of back-meta.

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497