as_system
authorStefan Metzmacher <metze@samba.org>
Sat, 17 Nov 2012 07:30:18 +0000 (08:30 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 19 Nov 2012 11:02:10 +0000 (12:02 +0100)
source4/dsdb/samdb/ldb_modules/extended_dn_store.c

index 57dc88330d61f0a5e744f04ba12f6ec1b9a9cdc2..dcfaaea104bb5c2d610c121c556786a39db85a8f 100644 (file)
@@ -276,7 +276,7 @@ static int extended_store_replace(struct extended_dn_context *ac,
        }
 
        ret = dsdb_request_add_controls(os->search_req,
-                                       DSDB_SEARCH_SHOW_RECYCLED|DSDB_SEARCH_SHOW_DN_IN_STORAGE_FORMAT);
+                                       DSDB_FLAG_AS_SYSTEM| DSDB_SEARCH_SHOW_RECYCLED|DSDB_SEARCH_SHOW_DN_IN_STORAGE_FORMAT);
        if (ret != LDB_SUCCESS) {
                talloc_free(os);
                return ret;