[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-5232-gb2e0cb3
Jeremy Allison
jra at samba.org
Wed Apr 22 10:04:41 GMT 2009
The branch, v3-3-test has been updated
via b2e0cb32c1a6f68430b36288c5d704b46d072e79 (commit)
from b32b0d502fe0f63e82d277039dda0a6f4bb2100f (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit b2e0cb32c1a6f68430b36288c5d704b46d072e79
Author: Jeremy Allison <jra at samba.org>
Date: Wed Apr 22 03:04:22 2009 -0700
Add comment explaining the previous fix.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/libads/ldap.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/libads/ldap.c b/source/libads/ldap.c
index 27aef31..d9598e5 100644
--- a/source/libads/ldap.c
+++ b/source/libads/ldap.c
@@ -118,6 +118,12 @@ static int ldap_search_with_timeout(LDAP *ld,
if (gotalarm != 0)
return LDAP_TIMELIMIT_EXCEEDED;
+ /*
+ * A bug in OpenLDAP means ldap_search_ext_s can return
+ * LDAP_SUCCESS but with a NULL res pointer. Cope with
+ * this. See bug #6279 for details. JRA.
+ */
+
if (*res == NULL) {
return LDAP_TIMELIMIT_EXCEEDED;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list