netapi: add more SHARE_INFO_X levels.
authorGünther Deschner <gd@samba.org>
Thu, 4 Sep 2008 14:38:57 +0000 (16:38 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 5 Sep 2008 10:53:38 +0000 (12:53 +0200)
Guenther
(This used to be commit 5f55e85cab6b3e98304dac5de96d6c6d43797e23)

source3/librpc/idl/libnetapi.idl

index 9ea1cc5db2da7fa81e6a13a5de820234aa1e196f..a81a3c683b8186ad6472223442e35d4737dccc9a 100644 (file)
@@ -984,6 +984,16 @@ interface libnetapi
        /* NetShareAdd                             */
        /*******************************************/
 
+       typedef struct {
+               string shi0_netname;
+       } SHARE_INFO_0;
+
+       typedef struct {
+               string shi1_netname;
+               uint32 shi1_type;
+               string shi1_remark;
+       } SHARE_INFO_1;
+
        typedef struct {
                string shi2_netname;
                uint32 shi2_type;
@@ -995,6 +1005,25 @@ interface libnetapi
                string shi2_passwd;
        } SHARE_INFO_2;
 
+       typedef struct {
+               string shi501_netname;
+               uint32 shi501_type;
+               string shi501_remark;
+               uint32 shi501_flags;
+       } SHARE_INFO_501;
+
+       typedef struct {
+               string shi1004_remark;
+       } SHARE_INFO_1004;
+
+       typedef struct {
+               uint32 shi1005_flags;
+       } SHARE_INFO_1005;
+
+       typedef struct {
+               uint32 shi1006_max_uses;
+       } SHARE_INFO_1006;
+
        [nopush,nopull] NET_API_STATUS NetShareAdd(
                [in] string server_name,
                [in] uint32 level,