summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/util.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-24 12:50:13 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-25 10:38:45 -0700
commit85ba79063f35b5a073b3670b82daa2aa6dfb40bb (patch)
tree9563a66c992846c62db6ca8537029acf7aa02a37 /source4/dsdb/samdb/ldb_modules/util.c
parent5568fcd88b2a32ba389694ee35ab521af1ea7394 (diff)
downloadsamba-85ba79063f35b5a073b3670b82daa2aa6dfb40bb.tar.gz
samba-85ba79063f35b5a073b3670b82daa2aa6dfb40bb.tar.bz2
samba-85ba79063f35b5a073b3670b82daa2aa6dfb40bb.zip
ldb: mark the location of a lot more ldb requests
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/util.c')
-rw-r--r--source4/dsdb/samdb/ldb_modules/util.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/util.c b/source4/dsdb/samdb/ldb_modules/util.c
index 03c301898e..e6a0aeaf08 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;
}