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

(ITS#5261) Samba4 can 'hang' OpenLDAP slapd

Full_Name: Andrew Bartlett
Version: cvs 2007-12-05
OS: Fedora 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

Using Samba4's 'make test', I can hang OpenLDAP's slapd.  Samba4 SVN -r 26305

That is, it will not process any further requests, but is waiting in
pthread_join(), not stuck somewhere else.

OpenLDAP was built with:
`dirname $0`/configure --enable-overlays=yes --enable-modules --enable-dynamic

Samba4 was built with:
CC="ccache gcc" CFLAGS="-O3" ./configure --enable-developer -C

Samba4 testsuite command line:

OPENLDAP_PATH=/usr/local/libexec:/usr/local/sbin TEST_LDAP=yes make test 

This hangs during the 'provision' processing. 

Note that this outputs an ldapi:// URL.  Using that URL, this test shows it's
not just samba that is stuck:

ldapadd -H ldapi://%2Fhome%2Fdata%2Fsamba%2Fsamba4%2Fclean%2Fsource%2Fst%2Fdc%2Fprivate%2Fldap%2Fldapi
-f st/dc/private/ldap/samba.example.com.ldif -D
cn=Manager,dc=samba,dc=example,dc=com -w localdcpass -x