summaryrefslogtreecommitdiffstats
path: root/source3/include
diff options
context:
space:
mode:
authorShirish Kalele <kalele@samba.org>2000-04-28 18:36:47 +0000
committerShirish Kalele <kalele@samba.org>2000-04-28 18:36:47 +0000
commitb39cee0bb9de856f8e4fa1f8a227ff885a5c56ff (patch)
treea0328a42ebfc34914a5417d7ac98e7617e325794 /source3/include
parentea9b2ed326caba0f7dfa514167bb6f89bc852a18 (diff)
downloadsamba-b39cee0bb9de856f8e4fa1f8a227ff885a5c56ff.tar.gz
samba-b39cee0bb9de856f8e4fa1f8a227ff885a5c56ff.tar.xz
samba-b39cee0bb9de856f8e4fa1f8a227ff885a5c56ff.zip
Added info level 1005 to netsharegetinfo (is the share a DFS root)
Added dfs_server announcement in set_default_server_announce_type() (This used to be commit 99d07e13520b04d99999938d259d56fa65c8a8ea)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_srvsvc.h8
-rw-r--r--source3/include/smb.h1
2 files changed, 8 insertions, 1 deletions
diff --git a/source3/include/rpc_srvsvc.h b/source3/include/rpc_srvsvc.h
index 78949a7a7d..96961cbd2f 100644
--- a/source3/include/rpc_srvsvc.h
+++ b/source3/include/rpc_srvsvc.h
@@ -305,6 +305,12 @@ typedef struct share_info_2_info
} SRV_SHARE_INFO_2;
+/* SRV_SHARE_INFO_1005 */
+typedef struct share_info_1005_info
+{
+ uint32 dfs_root_flag;
+} SRV_SHARE_INFO_1005;
+
/* SRV_SHARE_INFO_CTR */
typedef struct srv_share_info_ctr_info
{
@@ -373,7 +379,7 @@ typedef struct r_net_share_get_info_info
union {
SRV_SHARE_INFO_1 info1;
SRV_SHARE_INFO_2 info2;
-
+ SRV_SHARE_INFO_1005 info1005;
} share;
uint32 status;
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 78d17aaa3d..ee14466cf7 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1412,6 +1412,7 @@ char *strdup(char *s);
#define SV_TYPE_SERVER_OSF 0x00100000
#define SV_TYPE_SERVER_VMS 0x00200000
#define SV_TYPE_WIN95_PLUS 0x00400000
+#define SV_TYPE_DFS_SERVER 0x00800000
#define SV_TYPE_ALTERNATE_XPORT 0x20000000
#define SV_TYPE_LOCAL_LIST_ONLY 0x40000000
#define SV_TYPE_DOMAIN_ENUM 0x80000000