s4-dsdb: Explicitly mark some internal ldb requests as trusted
[nivanova/samba.git] / source4 / dsdb / samdb / ldb_modules / extended_dn_store.c
index e38a45194b339a5b0ecd0c0381402b999988a2b8..27fbbe72a4f23423f6959c218417bdf2421f68e1 100644 (file)
@@ -269,6 +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_mark_trusted(os->search_req);
        LDB_REQ_SET_LOCATION(os->search_req);
        if (ret != LDB_SUCCESS) {
                talloc_free(os);