Samba4 needs an async ldb_connect()
abartlet at samba.org
Sun Jun 29 22:35:07 GMT 2008
On Sat, 2008-06-28 at 10:46 -0400, simo wrote:
> 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 :)
Indeed. But given that we get almost no value from the async otherwise,
I think it's kind of a blocker to saying we have an async ldb...
> > 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.
Sure, but blocking against ldapi:// (ie, can't happen unless slapd is
stalled) and blocking against a potentially disconnected remote domain
are rather different impacts.
Indeed, a non-blocking winbind is perhaps the only real-life (ie, where
an administrator could tell the difference in behaviour) async use that
ldb will see in Samba, so it's not a minor point...
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20080630/fe9545e1/attachment.bin
More information about the samba-technical