diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-09-24 12:50:13 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-25 10:38:45 -0700 |
commit | 85ba79063f35b5a073b3670b82daa2aa6dfb40bb (patch) | |
tree | 9563a66c992846c62db6ca8537029acf7aa02a37 /source4/dsdb/samdb/ldb_modules/linked_attributes.c | |
parent | 5568fcd88b2a32ba389694ee35ab521af1ea7394 (diff) | |
download | samba-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/linked_attributes.c')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/linked_attributes.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |