summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/extended_dn_store.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/extended_dn_store.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/extended_dn_store.c')
-rw-r--r--source4/dsdb/samdb/ldb_modules/extended_dn_store.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/extended_dn_store.c b/source4/dsdb/samdb/ldb_modules/extended_dn_store.c
index 3f5f451f94..15af268a8f 100644
--- a/source4/dsdb/samdb/ldb_modules/extended_dn_store.c
+++ b/source4/dsdb/samdb/ldb_modules/extended_dn_store.c
@@ -269,7 +269,7 @@ static int extended_store_replace(struct extended_dn_context *ac,
ac->ldb, os, os->dsdb_dn->dn, LDB_SCOPE_BASE, NULL,
attrs, NULL, os, extended_replace_dn,
ac->req);
-
+ LDB_REQ_SET_LOCATION(os->search_req);
if (ret != LDB_SUCCESS) {
talloc_free(os);
return ret;
@@ -337,6 +337,7 @@ static int extended_dn_add(struct ldb_module *module, struct ldb_request *req)
}
ret = ldb_build_add_req(&ac->new_req, ac->ldb, ac, msg, req->controls, ac, extended_final_callback, req);
+ LDB_REQ_SET_LOCATION(ac->new_req);
if (ret != LDB_SUCCESS) {
return ret;
}
@@ -412,6 +413,7 @@ static int extended_dn_modify(struct ldb_module *module, struct ldb_request *req
}
ret = ldb_build_mod_req(&ac->new_req, ac->ldb, ac, msg, req->controls, ac, extended_final_callback, req);
+ LDB_REQ_SET_LOCATION(ac->new_req);
if (ret != LDB_SUCCESS) {
talloc_free(ac);
return ret;