ldb: mark the location of a lot more ldb requests
[ira/wip.git] / source4 / dsdb / samdb / ldb_modules / instancetype.c
index 0a11bccbca0c784ba6326acfb5794b2777186c2b..5032462196269e304cb07cb5e8e8becc97a17292 100644 (file)
@@ -142,7 +142,7 @@ static int instancetype_add(struct ldb_module *module, struct ldb_request *req)
                                        ac->req->controls,
                                        ac, it_add_callback,
                                        ac->req);
-               
+               LDB_REQ_SET_LOCATION(ac->add_req);
                if (ret != LDB_SUCCESS) {
                        return ret;
                }
@@ -172,6 +172,7 @@ static int instancetype_add(struct ldb_module *module, struct ldb_request *req)
                                req->controls,
                                req, dsdb_next_callback,
                                req);
+       LDB_REQ_SET_LOCATION(down_req);
        if (ret != LDB_SUCCESS) {
                return ret;
        }