diff --git a/source/librpc/idl/wkssvc.idl b/source/librpc/idl/wkssvc.idl index 85dc7eb3aae..08fea33e8d4 100644 --- a/source/librpc/idl/wkssvc.idl +++ b/source/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/source/rpc_server/wkssvc/dcesrv_wkssvc.c b/source/rpc_server/wkssvc/dcesrv_wkssvc.c index 292ed0e5252..99a50d3d260 100644 --- a/source/rpc_server/wkssvc/dcesrv_wkssvc.c +++ b/source/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); }