From fd461adfd017f5fe26ffd7340ccfd953363c28ab Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 27 Nov 2007 10:34:53 +0100 Subject: r26151: Add IDL and torture test for wkssvc_NetrValidateName() and wkssvc_NetrValidateName2(). Guenther (This used to be commit 9f63ec388dab09ef3148635eefa58f2e32c5d151) --- source4/torture/rpc/wkssvc.c | 64 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c index f40af73538..d862e00d1d 100644 --- a/source4/torture/rpc/wkssvc.c +++ b/source4/torture/rpc/wkssvc.c @@ -504,6 +504,66 @@ static bool test_NetrLogonDomainNameDel(struct torture_context *tctx, return true; } +static bool test_NetrValidateName(struct torture_context *tctx, + struct dcerpc_pipe *p) +{ + NTSTATUS status; + struct wkssvc_NetrValidateName r; + uint16_t levels[] = {0,1,2,3,4,5}; + int i; + + for (i=0; i