summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_map/ldb_map.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-10-18 22:13:20 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-10-18 11:54:46 +0000
commit034832ccd5f32658f8f199d277878985e5c65470 (patch)
tree564ee9d0b0a34ee615b303e4c4d863233c101318 /source4/lib/ldb/ldb_map/ldb_map.c
parentf4c82c621de73bdaee7a4a9e8598ea41ec208256 (diff)
downloadsamba-034832ccd5f32658f8f199d277878985e5c65470.tar.gz
samba-034832ccd5f32658f8f199d277878985e5c65470.tar.bz2
samba-034832ccd5f32658f8f199d277878985e5c65470.zip
s4-ldb Add LDB_REQ_SET_LOCATION to help track handler use
This greatly assists in debugging what is going on with the ldb handle, as it indicates where it was created. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Oct 18 11:54:46 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4/lib/ldb/ldb_map/ldb_map.c')
-rw-r--r--source4/lib/ldb/ldb_map/ldb_map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_map/ldb_map.c b/source4/lib/ldb/ldb_map/ldb_map.c
index 483222ec20..61d0d4cdf3 100644
--- a/source4/lib/ldb/ldb_map/ldb_map.c
+++ b/source4/lib/ldb/ldb_map/ldb_map.c
@@ -891,6 +891,7 @@ struct ldb_request *map_search_base_req(struct map_context *ac, struct ldb_dn *d
NULL,
context, callback,
ac->req);
+ LDB_REQ_SET_LOCATION(req);
if (ret != LDB_SUCCESS) {
return NULL;
}
@@ -938,6 +939,7 @@ struct ldb_request *map_build_fixup_req(struct map_context *ac,
ac, msg, NULL,
context, callback,
ac->req);
+ LDB_REQ_SET_LOCATION(req);
if (ret != LDB_SUCCESS) {
goto failed;
}