[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3564-g9da8226

Jeremy Allison jra at samba.org
Wed Apr 22 10:06:18 GMT 2009


The branch, v3-2-test has been updated
       via  9da82269dc6d9da3c0393a85e0217bf22cd2fe5c (commit)
      from  e7687dd9ca244a53fdf2312a78cdb028dd8971d5 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 9da82269dc6d9da3c0393a85e0217bf22cd2fe5c
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 8c37bfb..d8a1178 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