r21337: add hack option to use DsGetNCChanges level 5 against w2k
authorStefan Metzmacher <metze@samba.org>
Wed, 14 Feb 2007 14:01:50 +0000 (14:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:48:15 +0000 (14:48 -0500)
metze
(This used to be commit 66c8499e5f2f139995be8cb5770d238f383059d6)

source4/torture/rpc/dssync.c

index eb90871c0e20e8cd92644bdf40f9d7d9ab41ae10..31f9c602c72857d45612cec0556e2b54153ef721 100644 (file)
@@ -568,6 +568,8 @@ static BOOL test_FetchData(struct DsSyncTest *ctx)
 
        highest_usn = lp_parm_int(-1, "dssync", "highest_usn", 0);
 
+       array[0].level = lp_parm_int(-1, "dssync", "get_nc_changes_level", array[0].level);
+
        if (lp_parm_bool(-1,"dssync","print_pwd_blobs",False)) {
                const struct samr_Password *nthash;
                nthash = cli_credentials_get_nt_hash(ctx->new_dc.credentials, ctx);