diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-11-30 11:18:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:28:41 -0500 |
commit | 99c3d9c3713369abe50bb86e7cd3b9d2fdbba565 (patch) | |
tree | 17e75e6ecd17f9f7591a4278faf575e15b351bc4 /source4/torture/rpc | |
parent | 875a920ac2d67c9e98100ff2df20b1e7d3951d14 (diff) | |
download | samba-99c3d9c3713369abe50bb86e7cd3b9d2fdbba565.tar.gz samba-99c3d9c3713369abe50bb86e7cd3b9d2fdbba565.tar.bz2 samba-99c3d9c3713369abe50bb86e7cd3b9d2fdbba565.zip |
r19967: this unknowns are max_object_count and max_ndr_size
metze
(This used to be commit 3e6264d872e4fc39a8e0712293492ad413345de9)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/drsuapi.c | 8 | ||||
-rw-r--r-- | source4/torture/rpc/dssync.c | 13 |
2 files changed, 10 insertions, 11 deletions
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c index bcfb12de75..29b6b0633b 100644 --- a/source4/torture/rpc/drsuapi.c +++ b/source4/torture/rpc/drsuapi.c @@ -563,8 +563,8 @@ static BOOL test_DsGetNCChanges(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, if (lp_parm_bool(-1, "drsuapi","compression", False)) { r.in.req.req5.replica_flags |= DRSUAPI_DS_REPLICA_NEIGHBOUR_COMPRESS_CHANGES; } - r.in.req.req5.unknown2 = 0; - r.in.req.req5.unknown3 = 0; + r.in.req.req5.max_object_count = 0; + r.in.req.req5.max_ndr_size = 0; r.in.req.req5.unknown4 = 0; r.in.req.req5.h1 = 0; @@ -593,8 +593,8 @@ static BOOL test_DsGetNCChanges(struct dcerpc_pipe *p, TALLOC_CTX *mem_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; r.in.req.req8.unique_ptr1 = 0; 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; |