summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/drsuapi.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c
index 0b1377c740..7bef1e5360 100644
--- a/source4/torture/rpc/drsuapi.c
+++ b/source4/torture/rpc/drsuapi.c
@@ -780,22 +780,18 @@ static BOOL test_DsReplicaSync(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
r.in.level = array[i].level;
switch(r.in.level) {
- case 1: {
- uint16_t string[] = { 0x0064, 0x0063, 0x003d, 0x0073, 0x0039, 0x0000};
- ZERO_STRUCT(r.in.req.req1);
+ case 1:
r.in.req.req1.info = &info1;
r.in.req.req1.info->unknown1 = 32;
r.in.req.req1.info->unknown2 = 120;
ZERO_STRUCT(r.in.req.req1.info->guid1);
ZERO_ARRAY(r.in.req.req1.info->unknown3);
- r.in.req.req1.info->length = ARRAY_SIZE(string)-1;
- r.in.req.req1.info->nc_dn = string;/*priv->domain_obj_dn*/;
+ r.in.req.req1.info->nc_dn = priv->domain_obj_dn;
r.in.req.req1.guid1 = priv->dcinfo.ntds_guid;
r.in.req.req1.string1 = NULL;
r.in.req.req1.unknown1 = 16;
break;
}
- }
status = dcerpc_drsuapi_DsReplicaSync(p, mem_ctx, &r);
if (!NT_STATUS_IS_OK(status)) {