diff options
Diffstat (limited to 'source4/torture/rpc/dssync.c')
-rw-r--r-- | source4/torture/rpc/dssync.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c index 6db40daf69..e00033154e 100644 --- a/source4/torture/rpc/dssync.c +++ b/source4/torture/rpc/dssync.c @@ -160,6 +160,8 @@ static struct DsSyncTest *test_create_context(TALLOC_CTX *mem_ctx) ctx->new_dc.drsuapi.req.in.bind_info = our_bind_info_ctr; ctx->new_dc.drsuapi.req.out.bind_handle = &ctx->new_dc.drsuapi.bind_handle; + ctx->new_dc.invocation_id = ctx->new_dc.drsuapi.bind_guid; + /* ctx->old_dc ...*/ return ctx; @@ -289,9 +291,6 @@ static BOOL test_GetInfo(struct DsSyncTest *ctx) printf("cldap_netlogon() returned Server Site-Name: %s.\n",search.out.netlogon.logon5.server_site); } - - ctx->new_dc.invocation_id = GUID_random(); - return ret; } @@ -440,8 +439,8 @@ static BOOL test_FetchData(struct DsSyncTest *ctx) | DRSUAPI_DS_REPLICA_NEIGHBOUR_RETURN_OBJECT_PARENTS | DRSUAPI_DS_REPLICA_NEIGHBOUR_NEVER_SYNCED ; - r.in.req.req5.unknown2 = 133; - r.in.req.req5.unknown3 = 1336770; + r.in.req.req5.max_object_count = 133; + r.in.req.req5.max_ndr_size = 1336770; r.in.req.req5.unknown4 = 0; r.in.req.req5.h1 = 0; @@ -471,8 +470,8 @@ static BOOL test_FetchData(struct DsSyncTest *ctx) | DRSUAPI_DS_REPLICA_NEIGHBOUR_RETURN_OBJECT_PARENTS | DRSUAPI_DS_REPLICA_NEIGHBOUR_NEVER_SYNCED ; - r.in.req.req8.unknown2 = 402; - r.in.req.req8.unknown3 = 402116; + r.in.req.req8.max_object_count = 402; + r.in.req.req8.max_ndr_size = 402116; r.in.req.req8.unknown4 = 0; r.in.req.req8.h1 = 0; |