s3:smb: change the value of TID_FIELD_INVALID from -1 to 0
[kai/samba.git] / source3 / include / msdfs.h
index 4551325843042b5d03b3c3cb9ef44c349108ce82..b3892291272ef06ef0451f358e693162b14377bf 100644 (file)
 #define MAX_REFERRAL_COUNT   256
 #define MAX_MSDFS_JUNCTIONS 256
 
-typedef struct _client_referral {
+struct client_dfs_referral {
        uint32 proximity;
        uint32 ttl;
        char *dfspath;
-} CLIENT_DFS_REFERRAL;
+};
 
 struct referral {
        char *alternate_path; /* contains the path referred */
@@ -64,12 +64,4 @@ struct dfs_path {
        bool posix_path;
 };
 
-#define init_dfsroot(conn, inbuf, outbuf)                      \
-{ if (lp_msdfs_root(SNUM(conn)) && lp_host_msdfs()) {          \
-        DEBUG(2,("Serving %s as a Dfs root\n",                         \
-                lp_servicename(SNUM(conn)) ));                 \
-       SSVAL(outbuf, smb_vwv2, SMB_SHARE_IN_DFS                \
-             | SVAL(outbuf, smb_vwv2));                        \
-} }
-
 #endif /* _MSDFS_H */