From 350673b2d0106191e6bdb65772f70cae5abafacb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 14 Aug 2004 05:53:53 +0000 Subject: r1818: _really_ fixed epmapper this time, it was using more than one old rpc interface method. (This used to be commit ec41c73ae136bffea4285ade8be322b3c4cf3629) --- source4/torture/rpc/epmapper.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c index 2af4e449b4..9f5c337f15 100644 --- a/source4/torture/rpc/epmapper.c +++ b/source4/torture/rpc/epmapper.c @@ -162,7 +162,7 @@ static BOOL test_Map(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, twr->towers.floors[4].rhs.rhs_data = data_blob_talloc_zero(p->mem_ctx, 4); status = dcerpc_epm_Map(p, mem_ctx, &r); - if (NT_STATUS_IS_OK(status) && r.out.status == 0) { + if (NT_STATUS_IS_OK(status) && r.out.result == 0) { for (i=0;itowers); @@ -175,7 +175,7 @@ static BOOL test_Map(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, twr->towers.floors[3].rhs.rhs_data = data_blob_talloc_zero(p->mem_ctx, 2); status = dcerpc_epm_Map(p, mem_ctx, &r); - if (NT_STATUS_IS_OK(status) && r.out.status == 0) { + if (NT_STATUS_IS_OK(status) && r.out.result == 0) { for (i=0;itowers); @@ -192,7 +192,7 @@ static BOOL test_Map(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, twr->towers.floors[4].rhs.rhs_data = data_blob_talloc_zero(p->mem_ctx, 2); status = dcerpc_epm_Map(p, mem_ctx, &r); - if (NT_STATUS_IS_OK(status) && r.out.status == 0) { + if (NT_STATUS_IS_OK(status) && r.out.result == 0) { for (i=0;itowers); @@ -226,7 +226,7 @@ static BOOL test_Lookup(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) do { int i; status = dcerpc_epm_Lookup(p, mem_ctx, &r); - if (!NT_STATUS_IS_OK(status) || r.out.status != 0) { + if (!NT_STATUS_IS_OK(status) || r.out.result != 0) { break; } for (i=0;i