summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/wkssvc.idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-11-27 10:34:53 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:25 +0100
commitfd461adfd017f5fe26ffd7340ccfd953363c28ab (patch)
treea925b27856c03149ceb9c050a8bce9171f42f4a4 /source4/librpc/idl/wkssvc.idl
parentb653bea814d4a738a0fc5082945b9d619e21ceb7 (diff)
downloadsamba-fd461adfd017f5fe26ffd7340ccfd953363c28ab.tar.gz
samba-fd461adfd017f5fe26ffd7340ccfd953363c28ab.tar.bz2
samba-fd461adfd017f5fe26ffd7340ccfd953363c28ab.zip
r26151: Add IDL and torture test for wkssvc_NetrValidateName() and
wkssvc_NetrValidateName2(). Guenther (This used to be commit 9f63ec388dab09ef3148635eefa58f2e32c5d151)
Diffstat (limited to 'source4/librpc/idl/wkssvc.idl')
-rw-r--r--source4/librpc/idl/wkssvc.idl25
1 files changed, 23 insertions, 2 deletions
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 */