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/librpc/idl/wkssvc.idl | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/wkssvc.idl b/source4/librpc/idl/wkssvc.idl index cabd8a210d..f84c6329c8 100644 --- a/source4/librpc/idl/wkssvc.idl +++ b/source4/librpc/idl/wkssvc.idl @@ -404,7 +404,22 @@ import "srvsvc.idl"; /*****************************/ /* Function 0x13 */ - WERROR WKSSVC_NETRVALIDATENAME (); + typedef enum { + NetSetupUnknown = 0, + NetSetupMachine = 1, + NetSetupWorkgroup = 2, + NetSetupDomain = 3, + NetSetupNonExistentDomain = 4, + NetSetupDnsMachine = 5 + } wkssvc_NetValidateNameType; + + WERROR wkssvc_NetrValidateName( + [in] [string,charset(UTF16)] uint16 *server_name, + [in] [ref] [string,charset(UTF16)] uint16 *name, + [in] [string,charset(UTF16)] uint16 *Account, + [in] [string,charset(UTF16)] uint16 *Password, + [in] wkssvc_NetValidateNameType name_type + ); /*****************************/ /* Function 0x14 */ @@ -482,7 +497,13 @@ import "srvsvc.idl"; /*****************************/ /* Function 0x19 */ - WERROR WKSSVC_NETRVALIDATENAME2 (); + WERROR wkssvc_NetrValidateName2( + [in] [string,charset(UTF16)] uint16 *server_name, + [in] [ref] [string,charset(UTF16)] uint16 *name, + [in] [string,charset(UTF16)] uint16 *Account, + [in] wkssvc_PasswordBuffer *EncryptedPassword, + [in] wkssvc_NetValidateNameType name_type + ); /*****************************/ /* Function 0x1a */ -- cgit