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

(ITS#4763) slapd crashed with ldapsearch command without arguments

Full_Name: Jack Chen
Version: 2.3.27
OS: Redhat AS 3.0 2.4.21-40.ELsmp
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

I found when I run ldap commands without arguments always get password imput
requirement before result. But the command always told me
"ldap_sasl_interactive_bind_s: Can't contact LDAP server". Then I found the
slapd crashed.

Then I start slpad with command like "slpad -d 256" with root account and want
to get debug information before slpad crash.

Then following is the startup information:
@(#) $OpenLDAP: slapd 2.3.27 (Sep 30 2006 16:10:17) $
daemon: IPv6 socket() failed errno=97 (Address family not supported by
bdb_db_open: unclean shutdown detected; attempting recovery.
bdb_db_open: Warning - No DB_CONFIG file found in directory
/usr/local/openldap/var/openldap-data: (2)
Expect poor performance for suffix dc=test,dc=com.
slapd starting

And when I input command "ldapsearch" in shell with root account, and input
password with any words and return. The command tell me like following:
SASL/DIGEST-MD5 authentication started
Please enter your password: 
ldap_sasl_interactive_bind_s: Can't contact LDAP server

And I check the console which is running slapd, and get following information:
conn=0 fd=10 ACCEPT from IP= (IP=
conn=0 op=0 SRCH base="" scope=0 deref=0 filter="(objectClass=*)"
conn=0 op=0 SRCH attr=supportedSASLMechanisms
conn=0 op=0 SEARCH RESULT tag=101 err=0 nentries=1 text=
conn=0 op=1 BIND dn="" method=163
conn=0 op=1 RESULT tag=97 err=14 text=
conn=0 op=2 BIND dn="" method=163
/etc/sasldb2: Successful return: 0
segment fault (core dumped)

Because I'v set "ulimit -c 10000000", so get a coredump file additionally with
no debug info inside.