summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorHans Leidekker <hans@meelstraat.net>2013-10-14 20:43:27 +0200
committerJeremy Allison <jra@samba.org>2013-10-16 07:00:45 +0200
commita4c3553b5ad4c016a4154f1077e78fb83c791a30 (patch)
tree8a5b5a9c9477118761ea94e4d4dda418f4ea04c8 /source3/librpc
parenta1fcd71f9aad98428e33bc2e31cf6d077b0c02fc (diff)
downloadsamba-a4c3553b5ad4c016a4154f1077e78fb83c791a30.tar.gz
samba-a4c3553b5ad4c016a4154f1077e78fb83c791a30.tar.bz2
samba-a4c3553b5ad4c016a4154f1077e78fb83c791a30.zip
Add NetWkstaGetInfo.
Modified to include common.h entry for netapitest_wksta function by Kai Blin <kai@samba.org> Signed-off-by: Hans Leidekker <hans@meelstraat.net> Reviewed-by: Kai Blin <kai@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Oct 16 07:00:45 CEST 2013 on sn-devel-104
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/idl/libnetapi.idl37
1 files changed, 37 insertions, 0 deletions
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
@@ -777,6 +777,43 @@ interface libnetapi
);
/*******************************************/
+ /* 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 */
/*******************************************/