From 85ba79063f35b5a073b3670b82daa2aa6dfb40bb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 24 Sep 2010 12:50:13 -0700 Subject: ldb: mark the location of a lot more ldb requests --- source4/dsdb/samdb/ldb_modules/linked_attributes.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/dsdb/samdb/ldb_modules/linked_attributes.c') diff --git a/source4/dsdb/samdb/ldb_modules/linked_attributes.c b/source4/dsdb/samdb/ldb_modules/linked_attributes.c index 29f9d0d697..b09d0cb148 100644 --- a/source4/dsdb/samdb/ldb_modules/linked_attributes.c +++ b/source4/dsdb/samdb/ldb_modules/linked_attributes.c @@ -563,6 +563,7 @@ static int linked_attributes_modify(struct ldb_module *module, struct ldb_reques NULL, ac, la_mod_search_callback, req); + LDB_REQ_SET_LOCATION(search_req); /* We need to figure out our own extended DN, to fill in as the backlink target */ if (ret == LDB_SUCCESS) { @@ -853,6 +854,7 @@ static int la_add_callback(struct ldb_request *req, struct ldb_reply *ares) NULL, ac, la_mod_search_callback, ac->req); + LDB_REQ_SET_LOCATION(search_req); if (ret == LDB_SUCCESS) { ret = ldb_request_add_control(search_req, @@ -891,6 +893,7 @@ static int la_down_req(struct la_context *ac) ac->req->controls, ac, la_add_callback, ac->req); + LDB_REQ_SET_LOCATION(down_req); break; case LDB_MODIFY: ret = ldb_build_mod_req(&down_req, ldb, ac, @@ -898,6 +901,7 @@ static int la_down_req(struct la_context *ac) ac->req->controls, ac, la_mod_del_callback, ac->req); + LDB_REQ_SET_LOCATION(down_req); break; default: ret = LDB_ERR_OPERATIONS_ERROR; -- cgit