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

test000-rootdse fails (ITS#790)



Full_Name: Ralf Haferkamp
Version: 2.0.4
OS: SuSE Linux 7.0
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (194.112.123.201)


OpenLDAP was build with following options:
--enable-spasswd 
--enable-dynamic 
--enable-shared 
--with-tls 
--with-cyrus-sasl
Used Cyrus SASL 1.5.21, also tested with 1.5.24

make test fails with:

Initiating LDAP tests for LDBM...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Backend: ldbm
>>>>> Starting test000-rootdse ...
running defines.sh . ldbm
Datadir is ./data
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve all the entries...
Waiting 5 seconds for slapd to start...
./scripts/test000-rootdse: line 35: 18257 Aborted                 $LDAPSEARCH -b
"" -s base -h localhost:$PORT '+' >$SEARCHOUT 2>&1
./scripts/test000-rootdse: line 35: 18260 Aborted                 $LDAPSEARCH -b
"" -s base -h localhost:$PORT '+' >$SEARCHOUT 2>&1
./scripts/test000-rootdse: line 35: 18261 Aborted                 $LDAPSEARCH -b
"" -s base -h localhost:$PORT '+' >$SEARCHOUT 2>&1
./scripts/test000-rootdse: line 35: 18262 Aborted                 $LDAPSEARCH -b
"" -s base -h localhost:$PORT '+' >$SEARCHOUT 2>&1
./scripts/test000-rootdse: line 35: 18263 Aborted                 $LDAPSEARCH -b
"" -s base -h localhost:$PORT '+' >$SEARCHOUT 2>&1
ldapsearch: cyrus.c:439: ldap_int_sasl_close: Assertion `ctx != ((void *)0)'
failed.
dn:
namingContexts: o=OpenLDAP Project,l=Internet
supportedControl: 2.16.840.1.113730.3.4.2
supportedExtension: 1.3.6.1.4.1.4203.1.11.1
supportedExtension: 1.3.6.1.4.1.1466.20037
supportedLDAPVersion: 2
supportedLDAPVersion: 3
supportedSASLMechanisms: DIGEST-MD5
supportedSASLMechanisms: CRAM-MD5
subschemaSubentry: cn=Subschema

>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 134)

#include <iostream>
#include <string>

#include <ldap.h>
#include <lber.h>

This simple test-programm fails as well. With the same assertion failure:
int main(){
    LDAP* lc=ldap_init("localhost",389);
    ldap_simple_bind(lc,"cn=Manager, dc=my-domain, dc=com","secret");
    ldap_unbind(lc);
}

Regards,
	Ralf