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

Re: (ITS#6056) Samba4 breaks OpenLDAP over ldapi



abartlet@samba.org wrote:
> Full_Name: Andrew Bartlett
> Version: CVS HEAD
> OS: Fedora 10
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (59.167.251.137)
>
>
> Samba4's provision and 'make test' seems to create some internal situation in
> OpenLDAP slapd where it will not accept any more connections over ldapi:///
>
> This is best seen by building Samba4, and running
>
> TEST_LDAP=yes OPENLDAP_ROOT=/usr/local make test
>
> The slapd does not crash, but simply stops accepting new connections.  Samba4
> currently then crashes due to some other bug (the LDAP backend not responding is
> clearly untested code in Samba4).
>
> It isn't a Samba4 client bug, as ldapsearch also fails to respond.
>
> This seems very, very similar to ITS#5261

Further testing with Andrew's kvm image shows the hang only occurs when Cyrus 
SASL's libsasldb2.so plugin is present. I always remove that plugin from my 
installs, since I only use in-directory SASL secrets. That's probably why I 
wasn't seeing the reported behavior before.

Also a note - it's still not clear we've been talking about the same thing up 
to this point. Even when the samba test suite hangs, I see that ldapsearch 
still works fine against slapd. At any rate, currently all of the samba4 tests 
pass for me.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/