summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-11-27 09:41:50 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:22 +0100
commit7769f9db3408d5b98560045b07529a8359ca6911 (patch)
treea86901a1c33e363921f1429c163903645b5941cd /source4/librpc
parentce0af45ef11b7661771dfcebb7298d81d1d2b80e (diff)
downloadsamba-7769f9db3408d5b98560045b07529a8359ca6911.tar.gz
samba-7769f9db3408d5b98560045b07529a8359ca6911.tar.bz2
samba-7769f9db3408d5b98560045b07529a8359ca6911.zip
r26143: Add IDL and torture test for wkssvc_NetrWkstaUserGetInfo.
Guenther (This used to be commit b358f953e9ba03bc89a241ab5232c823d836057f)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/wkssvc.idl17
1 files changed, 16 insertions, 1 deletions
diff --git a/source4/librpc/idl/wkssvc.idl b/source4/librpc/idl/wkssvc.idl
index 311accfd89..5df7cb2df5 100644
--- a/source4/librpc/idl/wkssvc.idl
+++ b/source4/librpc/idl/wkssvc.idl
@@ -192,7 +192,22 @@ import "srvsvc.idl";
/*****************************/
/* Function 0x03 */
- WERROR WKSSVC_NETRWKSTAUSERGETINFO ();
+ typedef struct {
+ [string,charset(UTF16)] uint16 *other_domains;
+ } wkssvc_NetrWkstaUserInfo1101;
+
+ typedef [switch_type(uint32)] union {
+ [case(0)] wkssvc_NetrWkstaUserInfo0 *info0;
+ [case(1)] wkssvc_NetrWkstaUserInfo1 *info1;
+ [case(1101)] wkssvc_NetrWkstaUserInfo1101 *info1101;
+ } wkssvc_NetrWkstaUserInfo;
+
+ WERROR wkssvc_NetrWkstaUserGetInfo(
+ [in] [string,charset(UTF16)] uint16 *unknown,
+ [in] uint32 level,
+ [out] [switch_is(level)] [ref] wkssvc_NetrWkstaUserInfo *info
+ );
+
/*****************************/
/* Function 0x04 */