From 20f1530a11402a926cdd7b4d1f9dddb360985196 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 18 Nov 2003 08:03:06 +0000 Subject: changed wks to wkssvc (suggestion from metze). Started adding samr_CreateUser(). (This used to be commit 04e9269c1e37c9c2984ee2886fa6c0eda5c19669) --- source4/torture/rpc/samr.c | 6 ++++++ source4/torture/rpc/wkssvc.c | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index 346a073723..79f64005be 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -400,6 +400,12 @@ static BOOL test_OpenDomain(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, return False; } +#if 0 + if (!test_CreateUser(p, mem_ctx, &domain_handle)) { + ret = False; + } +#endif + if (!test_QuerySecurity(p, mem_ctx, &domain_handle)) { ret = False; } diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c index 5f8a63de10..b8ae3de202 100644 --- a/source4/torture/rpc/wkssvc.c +++ b/source4/torture/rpc/wkssvc.c @@ -26,7 +26,7 @@ static BOOL test_QueryInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) { NTSTATUS status; - struct wks_QueryInfo r; + struct wkssvc_QueryInfo r; uint16 levels[] = {100, 101, 102}; int i; BOOL ret = True; @@ -36,7 +36,7 @@ static BOOL test_QueryInfo(struct dcerpc_pipe *p, for (i=0;i