summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-11-27 10:42:50 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:26 +0100
commit238862649cfa2f667915ef6475be54fb1ebff82d (patch)
tree263e4566ef62a8c3e20fe4e490396f88291f77a0 /source4/librpc/idl
parentfd461adfd017f5fe26ffd7340ccfd953363c28ab (diff)
downloadsamba-238862649cfa2f667915ef6475be54fb1ebff82d.tar.gz
samba-238862649cfa2f667915ef6475be54fb1ebff82d.tar.bz2
samba-238862649cfa2f667915ef6475be54fb1ebff82d.zip
r26152: Add IDL and torture test for wkssvc_NetrEnumerateComputerNames().
Guenther (This used to be commit ea478168676e00a602f8181b408c4886b35d2fd3)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/wkssvc.idl21
1 files changed, 19 insertions, 2 deletions
diff --git a/source4/librpc/idl/wkssvc.idl b/source4/librpc/idl/wkssvc.idl
index f84c6329c8..6ecceae3e1 100644
--- a/source4/librpc/idl/wkssvc.idl
+++ b/source4/librpc/idl/wkssvc.idl
@@ -2,7 +2,7 @@
wkssvc interface definitions
*/
-import "srvsvc.idl";
+import "srvsvc.idl", "lsa.idl";
[ uuid("6bffd098-a112-3610-9833-46c3f87e345a"),
version(1.0),
@@ -535,5 +535,22 @@ import "srvsvc.idl";
/*****************************/
/* Function 0x1e */
- WERROR WKSSVC_NETRENUMERATECOMPUTERNAMES ();
+ typedef enum {
+ NetPrimaryComputerName = 0,
+ NetAlternateComputerNames = 1,
+ NetAllComputerNames = 2,
+ NetComputerNameTypeMax = 3
+ } wkssvc_ComputerNameType;
+
+ typedef struct {
+ uint32 count;
+ [size_is(count)] lsa_String *computer_name;
+ } wkssvc_ComputerNamesCtr;
+
+ WERROR wkssvc_NetrEnumerateComputerNames(
+ [in] [string,charset(UTF16)] uint16 *server_name,
+ [in] wkssvc_ComputerNameType name_type,
+ [in] uint32 Reserved,
+ [out] [ref] wkssvc_ComputerNamesCtr **ctr
+ );
}