From 8068c5a9f0310f9197f1edce08e8d57488def7bd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 21 Dec 2003 07:53:57 +0000 Subject: [PATCH] wkssvc test updates from metze (This used to be commit 9d3e06f0e312c5585701aa385132f23dfb2917eb) --- source4/torture/rpc/wkssvc.c | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c index 6b09565bda5..92d1063f3b9 100644 --- a/source4/torture/rpc/wkssvc.c +++ b/source4/torture/rpc/wkssvc.c @@ -22,11 +22,11 @@ #include "includes.h" -static BOOL test_QueryInfo(struct dcerpc_pipe *p, +static BOOL test_NetWkstaGetInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) { NTSTATUS status; - struct wkssvc_QueryInfo r; + struct wkssvc_NetWkstaGetInfo r; uint16 levels[] = {100, 101, 102, 502}; int i; BOOL ret = True; @@ -35,42 +35,48 @@ static BOOL test_QueryInfo(struct dcerpc_pipe *p, for (i=0;iflags |= DCERPC_DEBUG_PRINT_BOTH; - if (!test_QueryInfo(p, mem_ctx)) { + if (!test_NetWkstaGetInfo(p, mem_ctx)) { ret = False; } - if (!test_TransportEnum(p, mem_ctx)) { + if (!test_NetWkstaTransportEnum(p, mem_ctx)) { ret = False; }