s4-dsdb: Explicitly mark some internal ldb requests as trusted
[nivanova/samba.git] / source4 / dsdb / samdb / ldb_modules / lazy_commit.c
index 24fc6dd9e859c9e44a7b4f42342c0ed1293c68af..938dc89955fb4bd8c14202fea5cdf650026744e9 100644 (file)
@@ -51,6 +51,7 @@ static int unlazy_op(struct ldb_module *module, struct ldb_request *req)
                                              req->controls,
                                              req, dsdb_next_callback,
                                              req);
+               ldb_req_mark_trusted(new_req);
                LDB_REQ_SET_LOCATION(new_req);
                break;
        case LDB_ADD: