Subject: pkg/26489: OpenLDAP 2.2.13 broken
To: None <>
From: None <>
List: pkgsrc-bugs
Date: 07/31/2004 12:20:06
>Number:         26489
>Category:       pkg
>Synopsis:       OpenLDAP 2.2.13 broken
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 31 14:45:00 UTC 2004
>Originator:     Matt Dainty
>Release:        NetBSD 1.6ZK sparc64
NetBSD 1.6ZK NetBSD 1.6ZK (POLYMORPH) #0: Mon Apr 12 15:49:46 BST 2004 sparc64
Prior to upgrading my packages to latest as of 30/07/2004, I was running openldap 2.1.30, this has now been upgraded to openldap 2.2.13 (bit of a big jump?).

The slapd is providing NIS-style databases to some Fedora Core 2 Linux boxen, and when they try and query it, slapd crashes with:

Jul 31 14:44:25 polymorph /netbsd: trap: textfault at 41206fdc!! sending SIGILL due to trap 16: illegal instruction

However, using ldapsearch locally on the machine, I can perform some simple searches without any problem.

When openldap is configured to link with the cyrus-sasl library via USE_SASL2, on running slapd or slapcat, (may be others too), I get the error:

Jul 31 14:43:23 polymorph slapd[3708]: unable to dlopen /usr/pkg/lib/sasl2/ /usr/pkg/lib/sasl2/ Undefined symbol "" (symnum = 9)

All of this has crept in with this upgrade, using openldap 2.1.30 and cyrus-sasl 2.1.18 there was no obvious problems.
Use a remote machine configured to retrieve password, shadow, etc. databases via LDAP to trigger slapd to crash.