From a4c3553b5ad4c016a4154f1077e78fb83c791a30 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Mon, 14 Oct 2013 20:43:27 +0200 Subject: Add NetWkstaGetInfo. Modified to include common.h entry for netapitest_wksta function by Kai Blin Signed-off-by: Hans Leidekker Reviewed-by: Kai Blin Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Wed Oct 16 07:00:45 CEST 2013 on sn-devel-104 --- source3/librpc/idl/libnetapi.idl | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'source3/librpc/idl') diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl index 935256af16..9018d76e50 100644 --- a/source3/librpc/idl/libnetapi.idl +++ b/source3/librpc/idl/libnetapi.idl @@ -776,6 +776,43 @@ interface libnetapi [out] uint32 *parm_error ); + /*******************************************/ + /* NetWkstaGetInfo */ + /*******************************************/ + + [public] typedef struct { + uint32 wki100_platform_id; + string wki100_computername; + string wki100_langroup; + uint32 wki100_ver_major; + uint32 wki100_ver_minor; + } WKSTA_INFO_100; + + [public] typedef struct { + uint32 wki101_platform_id; + string wki101_computername; + string wki101_langroup; + uint32 wki101_ver_major; + uint32 wki101_ver_minor; + string wki101_lanroot; + } WKSTA_INFO_101; + + [public] typedef struct { + uint32 wki102_platform_id; + string wki102_computername; + string wki102_langroup; + uint32 wki102_ver_major; + uint32 wki102_ver_minor; + string wki102_lanroot; + uint32 wki102_logged_on_users; + } WKSTA_INFO_102; + + [nopush,nopull] NET_API_STATUS NetWkstaGetInfo( + [in,unique] string *server_name, + [in] uint32 level, + [out] uint8 **buffer + ); + /*******************************************/ /* NetGetDCName */ /*******************************************/ -- cgit