From c1f9a94eba2b77dee91aa10997f117b31af12c38 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 2 Nov 2004 15:32:58 +0000 Subject: r3487: RemoteActivation works! The only odd bit is that I get either a NT_STATUS_BUFFER_TOO_SMALL or a NT_STATUS_NET_WRITE_FAULT if I try other user accounts. Must've got something to do with the auth padding... (This used to be commit f6f3d312bf43354564a9b0816edc3a13b520192d) --- source4/torture/rpc/remact.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/rpc/remact.c') diff --git a/source4/torture/rpc/remact.c b/source4/torture/rpc/remact.c index 9d725893c9..38d80e1bea 100644 --- a/source4/torture/rpc/remact.c +++ b/source4/torture/rpc/remact.c @@ -32,7 +32,7 @@ static int test_RemoteActivation(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) struct RemoteActivation r; NTSTATUS status; struct GUID iids[2]; - uint16 protseq[2] = { EPM_PROTOCOL_TCP, EPM_PROTOCOL_NCALRPC }; + uint16 protseq[3] = { EPM_PROTOCOL_TCP, EPM_PROTOCOL_NCALRPC, EPM_PROTOCOL_UUID }; ZERO_STRUCT(r.in); r.in.this.version.MajorVersion = 5; @@ -40,7 +40,7 @@ static int test_RemoteActivation(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) uuid_generate_random(&r.in.this.cid); GUID_from_string(CLSID_SIMPLE, &r.in.Clsid); r.in.ClientImpLevel = RPC_C_IMP_LEVEL_IDENTIFY; - r.in.num_protseqs = 2; + r.in.num_protseqs = 3; r.in.protseq = protseq; r.in.Interfaces = 1; GUID_from_string(DCERPC_IUNKNOWN_UUID, &iids[0]); -- cgit