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

Segmentation Fault: slapd 2.1.12 with Berkeley DB 4.1.x


i am trying to get Openldap 2.1.12 with Berkeley DB 4.1.25 to work.
Backend is bdb, system runs on Linux 2.2.22.

When i try to do a search with "ldapsearch -x <filter>" i have no
problems. But when i omit the "-x" and use "ldapsearch <filter>" slapd
stops working with a Segmentation Fault. This behaviour is reproducable.
It disappears, when i use Berkeley DB 4.0. Is it possible to use
Berkeley DB 4.0 even if the documents recommend using 4.1?

** Example Output From "strace /usr/local/libexec/slapd -u slapd -d 1",
running a "ldapseach uid=psacha" against slapd **:

 >>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_sasl_bind: dn () mech OTP
getdn: u:id converted to uid=psacha,cn=OTP,cn=auth
 >>> dnNormalize: <uid=psacha,cn=OTP,cn=auth>
=> ldap_bv2dn(uid=psacha,cn=OTP,cn=auth,0)
<= ldap_bv2dn(uid=psacha,cn=OTP,cn=auth,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=psacha,cn=otp,cn=auth,272)=0
<<< dnNormalize: <uid=psacha,cn=otp,cn=auth>
==>slap_sasl2dn: converting SASL name uid=psacha,cn=otp,cn=auth to a DN
slap_sasl_regexp: converting SASL name uid=psacha,cn=otp,cn=auth
<==slap_sasl2dn: Converted SASL name to <nothing>
  <unfinished ...>
--- SIGILL (Illegal instruction) ---
+++ killed by SIGILL +++



-- Philipp Sacha mailto:psacha@blue-cable.net