svn commit: samba r1588 - in branches/SAMBA_3_0/source: include lib

vlendec at samba.org vlendec at samba.org
Mon Jul 26 07:41:16 GMT 2004


Author: vlendec
Date: 2004-07-26 07:41:16 +0000 (Mon, 26 Jul 2004)
New Revision: 1588

Modified:
   branches/SAMBA_3_0/source/include/smbldap.h
   branches/SAMBA_3_0/source/lib/smbldap.c
Log:
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


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source&rev=1588&nolog=1


More information about the samba-cvs mailing list