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/util.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source4/dsdb/samdb/ldb_modules/util.c') diff --git a/source4/dsdb/samdb/ldb_modules/util.c b/source4/dsdb/samdb/ldb_modules/util.c index 03c301898e6..e6a0aeaf086 100644 --- a/source4/dsdb/samdb/ldb_modules/util.c +++ b/source4/dsdb/samdb/ldb_modules/util.c @@ -61,6 +61,7 @@ int dsdb_module_search_dn(struct ldb_module *module, res, ldb_search_default_callback, NULL); + LDB_REQ_SET_LOCATION(req); if (ret != LDB_SUCCESS) { talloc_free(tmp_ctx); return ret; @@ -152,6 +153,7 @@ int dsdb_module_search(struct ldb_module *module, res, ldb_search_default_callback, NULL); + LDB_REQ_SET_LOCATION(req); if (ret != LDB_SUCCESS) { talloc_free(tmp_ctx); return ret; @@ -281,6 +283,7 @@ int dsdb_module_modify(struct ldb_module *module, res, ldb_modify_default_callback, NULL); + LDB_REQ_SET_LOCATION(mod_req); if (ret != LDB_SUCCESS) { talloc_free(tmp_ctx); return ret; @@ -339,6 +342,7 @@ int dsdb_module_rename(struct ldb_module *module, res, ldb_modify_default_callback, NULL); + LDB_REQ_SET_LOCATION(req); if (ret != LDB_SUCCESS) { talloc_free(tmp_ctx); return ret; @@ -394,6 +398,7 @@ int dsdb_module_add(struct ldb_module *module, res, ldb_modify_default_callback, NULL); + LDB_REQ_SET_LOCATION(req); if (ret != LDB_SUCCESS) { talloc_free(tmp_ctx); return ret; @@ -449,6 +454,7 @@ int dsdb_module_del(struct ldb_module *module, res, ldb_modify_default_callback, NULL); + LDB_REQ_SET_LOCATION(req); if (ret != LDB_SUCCESS) { talloc_free(tmp_ctx); return ret; @@ -747,6 +753,7 @@ int dsdb_module_load_partition_usn(struct ldb_module *module, struct ldb_dn *dn, NULL, res, ldb_search_default_callback, NULL); + LDB_REQ_SET_LOCATION(req); if (ret != LDB_SUCCESS) { talloc_free(tmp_ctx); return ret; @@ -868,6 +875,7 @@ int dsdb_module_save_partition_usn(struct ldb_module *module, struct ldb_dn *dn, res, ldb_modify_default_callback, NULL); + LDB_REQ_SET_LOCATION(req); again: if (ret != LDB_SUCCESS) { talloc_free(msg); @@ -895,6 +903,7 @@ again: res, ldb_modify_default_callback, NULL); + LDB_REQ_SET_LOCATION(req); goto again; } -- cgit