summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-11-27 10:25:48 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:24 +0100
commit5c76e9b41858e0e3bc712b1d1c6e6b4d94f028d2 (patch)
tree01a16c9072cdc53b10e64e0b9a273ef9e6f2ac72 /source4
parent8d62a1370df7facb677ae825a27d72b06c69eeb3 (diff)
downloadsamba-5c76e9b41858e0e3bc712b1d1c6e6b4d94f028d2.tar.gz
samba-5c76e9b41858e0e3bc712b1d1c6e6b4d94f028d2.tar.bz2
samba-5c76e9b41858e0e3bc712b1d1c6e6b4d94f028d2.zip
r26149: Add IDL for wkssvc_NetrWkstaUserSetInfo(). No torture test yet.
Guenther (This used to be commit 810b63a8ec5715f39bc888011a26a944599ef752)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/wkssvc.idl9
-rw-r--r--source4/rpc_server/wkssvc/dcesrv_wkssvc.c8
2 files changed, 10 insertions, 7 deletions
diff --git a/source4/librpc/idl/wkssvc.idl b/source4/librpc/idl/wkssvc.idl
index 85dc7eb3aa..08fea33e8d 100644
--- a/source4/librpc/idl/wkssvc.idl
+++ b/source4/librpc/idl/wkssvc.idl
@@ -208,11 +208,14 @@ import "srvsvc.idl";
[out] [switch_is(level)] [ref] wkssvc_NetrWkstaUserInfo *info
);
-
/*****************************/
/* Function 0x04 */
- WERROR WKSSVC_NETRWKSTAUSERSETINFO ();
-
+ WERROR wkssvc_NetrWkstaUserSetInfo(
+ [in] [string,charset(UTF16)] uint16 *unknown,
+ [in] uint32 level,
+ [out] [switch_is(level)] [ref] wkssvc_NetrWkstaUserInfo *info,
+ [in,out] uint32 *parm_err
+ );
/*****************************/
/* Function 0x05 */
diff --git a/source4/rpc_server/wkssvc/dcesrv_wkssvc.c b/source4/rpc_server/wkssvc/dcesrv_wkssvc.c
index 292ed0e525..99a50d3d26 100644
--- a/source4/rpc_server/wkssvc/dcesrv_wkssvc.c
+++ b/source4/rpc_server/wkssvc/dcesrv_wkssvc.c
@@ -122,11 +122,11 @@ static WERROR dcesrv_wkssvc_NetrWkstaUserGetInfo(struct dcesrv_call_state *dce_c
}
-/*
- WKSSVC_NETRWKSTAUSERSETINFO
+/*
+ wkssvc_NetrWkstaUserSetInfo
*/
-static WERROR dcesrv_WKSSVC_NETRWKSTAUSERSETINFO(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
- struct WKSSVC_NETRWKSTAUSERSETINFO *r)
+static WERROR dcesrv_wkssvc_NetrWkstaUserSetInfo(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
+ struct wkssvc_NetrWkstaUserSetInfo *r)
{
DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
}