Samba4 needs an async ldb_connect()

simo idra at samba.org
Sat Jun 28 14:46:14 GMT 2008


On Sat, 2008-06-28 at 18:16 +1000, Andrew Bartlett wrote:
> It seems to me that there is little point having LDB use async
> operations, if the ldb_connect() itself is not async.

Indeed, volunteers to make it async are very welcome :)

> I've removed the ldap connection that winbind was making at startup,
> which was the cause of the wbinfo test segfault (because the call mixes
> sync and async calls), but if I moved to having winbind use LDB (it
> would be insane not to), we end up back in the same boat...
> 
> More worryingly, we could block all of winbind/smbd waiting for an LDAP
> server behind a firewall. 

As with any blocking call over the network.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Senior Software Engineer at Red Hat Inc. <ssorce at redhat.com>



More information about the samba-technical mailing list