#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 */
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 */