r1588: This is one of the more pathetic patches I ever checked in. Many hours of
commit269f0750872e5f8757e0a9667e007a0410319fcd
authorVolker Lendecke <vlendec@samba.org>
Mon, 26 Jul 2004 07:41:16 +0000 (26 07:41 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:16 +0000 (10 10:52 -0500)
tree13ef1023c3d8225f8fd5844f2e4dcc0e9c46536d
parent35aabae9d9bf66ef2c8eb4e07a850c606d8236d2
r1588: This is one of the more pathetic patches I ever checked in. Many hours of
coding have passed, but I could not find a way to get the OpenLDAP libraries
to reliably time out on any of the queries we make, *and* get correct error
returns. No, async calls and ldap_result does NOT work, or I was simply too
stupid to correctly interpret the OpenLDAP manpage and source.

We can not allow to hang indefinitely in an ldap query, especially not for
winbindd. "ldap timeout" now specifies the overall timeout for the complete
operation, that's why I increased that to 15 seconds.

Volker
source/include/smbldap.h
source/lib/smbldap.c