summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-12-31 05:34:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:49 -0500
commitd63c481fb9a0dc35f0a4d87864095d8116fb0674 (patch)
treefb0b701d069bedb3fd989c286eefb793f589af1e /source4/librpc/idl
parentcb25806d8dcdbf45f6de3b1a86e1c40ee3711fee (diff)
downloadsamba-d63c481fb9a0dc35f0a4d87864095d8116fb0674.tar.gz
samba-d63c481fb9a0dc35f0a4d87864095d8116fb0674.tar.bz2
samba-d63c481fb9a0dc35f0a4d87864095d8116fb0674.zip
r4432: - add srvsvc_NetShareInfo level 1006 and 1501 idl
- implement srvsvc_NetGetShareInfo() - add more error checks - bring the rest of the code in the same layout metze (This used to be commit 0dd14d9fc611a33dad4e559321d6c50d82efb5d1)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/srvsvc.idl23
1 files changed, 17 insertions, 6 deletions
diff --git a/source4/librpc/idl/srvsvc.idl b/source4/librpc/idl/srvsvc.idl
index ce5720f50c..c637d93841 100644
--- a/source4/librpc/idl/srvsvc.idl
+++ b/source4/librpc/idl/srvsvc.idl
@@ -433,7 +433,7 @@
uint32 type;
unistr *comment;
uint32 permissions;
- uint32 max_users;
+ int32 max_users;
uint32 current_users;
unistr *path;
unistr *password;
@@ -447,13 +447,22 @@
} srvsvc_NetShareCtr502;
typedef struct {
- uint32 dummy;
+ unistr *comment;
} srvsvc_NetShareInfo1004;
typedef struct {
uint32 dfs_flags;
} srvsvc_NetShareInfo1005;
+ typedef struct {
+ int32 max_users;
+ } srvsvc_NetShareInfo1006;
+
+ typedef struct {
+ uint32 reserved;
+ [subcontext(4)] security_descriptor *sd;
+ } srvsvc_NetShareInfo1501;
+
typedef union {
[case(0)] srvsvc_NetShareInfo0 *info0;
[case(1)] srvsvc_NetShareInfo1 *info1;
@@ -462,6 +471,8 @@
[case(502)] srvsvc_NetShareInfo502 *info502;
[case(1004)] srvsvc_NetShareInfo1004 *info1004;
[case(1005)] srvsvc_NetShareInfo1005 *info1005;
+ [case(1006)] srvsvc_NetShareInfo1006 *info1006;
+ [case(1501)] srvsvc_NetShareInfo1501 *info1501;
[default] ;
} srvsvc_NetShareInfo;
@@ -548,9 +559,9 @@
typedef struct {
uint32 platform_id;
unistr *server_name;
- uint32 ver_major;
- uint32 ver_minor;
- uint32 type;
+ uint32 version_major;
+ uint32 version_minor;
+ uint32 server_type;
unistr *comment;
} srvsvc_NetSrvInfo101;
@@ -559,7 +570,7 @@
unistr *server_name;
uint32 ver_major;
uint32 ver_minor;
- uint32 type;
+ uint32 server_type;
unistr *comment;
uint32 users;
uint32 disc;