svn commit: samba r17071 - in branches/SOC/mkhl/ldb-map/modules: .

mkhl at samba.org mkhl at samba.org
Sat Jul 15 18:33:33 GMT 2006


Author: mkhl
Date: 2006-07-15 18:33:32 +0000 (Sat, 15 Jul 2006)
New Revision: 17071

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17071

Log:
Set the correct async handles for searches.

Martin

Modified:
   branches/SOC/mkhl/ldb-map/modules/ldb_map.c


Changeset:
Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c
===================================================================
--- branches/SOC/mkhl/ldb-map/modules/ldb_map.c	2006-07-15 18:32:37 UTC (rev 17070)
+++ branches/SOC/mkhl/ldb-map/modules/ldb_map.c	2006-07-15 18:33:32 UTC (rev 17071)
@@ -1988,6 +1988,9 @@
 	if (req == NULL)
 		goto error;
 
+	/* use search context to merge results */
+	req->async.context = sc;
+
 	return ldb_next_remote_request(ac->module, req);
 
 callback:
@@ -2038,9 +2041,6 @@
 		return LDB_ERR_OPERATIONS_ERROR;
 	ac = talloc_get_type(h->private_data, struct map_async_context);
 
-	/* return or own handle to deal with this call */
-	/* req->async.handle = h; */
-
 	/* prepare the local operation */
 	ac->local_req = talloc_zero(ac, struct ldb_request);
 	if (ac->local_req == NULL) {



More information about the samba-cvs mailing list