s4-dsdb: Explicitly mark some internal ldb requests as trusted
[nivanova/samba.git] / source4 / lib / ldb / modules / asq.c
index 7482de826f0cf088d17d3e63ce30f6b1818e479e..cf0ac73b2c8775e8c40eabbeb50a9bd8189a361d 100644 (file)
@@ -239,6 +239,7 @@ static int asq_build_first_request(struct asq_context *ac, struct ldb_request **
                                        NULL,
                                        ac, asq_base_callback,
                                        ac->req);
+       ldb_req_mark_trusted(*base_req);
        if (ret != LDB_SUCCESS) {
                return ret;
        }