summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-17 18:46:34 +0200
committerGünther Deschner <gd@samba.org>2008-10-17 23:06:24 +0200
commit1cdd9e37b0dab4e3a23fa161b3922b574e049afe (patch)
tree0de81c5a271bd58a13e888008fa63ceb853b590b /source4/torture
parentd7264320f47453c3b6c32f8298783ad5b2343487 (diff)
downloadsamba-1cdd9e37b0dab4e3a23fa161b3922b574e049afe.tar.gz
samba-1cdd9e37b0dab4e3a23fa161b3922b574e049afe.tar.bz2
samba-1cdd9e37b0dab4e3a23fa161b3922b574e049afe.zip
s4-smbtorture: fix drsuapi_DsGetNT4ChangeLog test.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/dssync.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c
index 185e8ef0d4..2070485a19 100644
--- a/source4/torture/rpc/dssync.c
+++ b/source4/torture/rpc/dssync.c
@@ -810,6 +810,8 @@ static bool test_FetchNT4Data(struct torture_context *tctx,
bool ret = true;
struct drsuapi_DsGetNT4ChangeLog r;
union drsuapi_DsGetNT4ChangeLogRequest req;
+ union drsuapi_DsGetNT4ChangeLogInfo info;
+ int32_t level_out = 0;
struct GUID null_guid;
struct dom_sid null_sid;
DATA_BLOB cookie;
@@ -821,6 +823,8 @@ static bool test_FetchNT4Data(struct torture_context *tctx,
ZERO_STRUCT(r);
r.in.bind_handle = &ctx->new_dc.drsuapi.bind_handle;
r.in.level = 1;
+ r.out.info = &info;
+ r.out.level_out = &level_out;
req.req1.unknown1 = lp_parm_int(tctx->lp_ctx, NULL, "dssync", "nt4-1", 3);
req.req1.unknown2 = lp_parm_int(tctx->lp_ctx, NULL, "dssync", "nt4-2", 0x00004000);