diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-08-01 11:33:27 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-08-01 14:17:16 +0200 |
commit | d3aaa1ebc822d3384f1821302585921d44028649 (patch) | |
tree | 396101dcaf9d199e4401869ef5e369e1438584f5 /libcli/smb | |
parent | 8e1c6d42327faae5df6e384cf9573bf4dc925038 (diff) | |
download | samba-d3aaa1ebc822d3384f1821302585921d44028649.tar.gz samba-d3aaa1ebc822d3384f1821302585921d44028649.tar.bz2 samba-d3aaa1ebc822d3384f1821302585921d44028649.zip |
libcli/smb: move some TCON related defines to smb_constants.h
metze
Diffstat (limited to 'libcli/smb')
-rw-r--r-- | libcli/smb/smb_constants.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libcli/smb/smb_constants.h b/libcli/smb/smb_constants.h index aaf87c1a4b..8cb3b6e421 100644 --- a/libcli/smb/smb_constants.h +++ b/libcli/smb/smb_constants.h @@ -262,6 +262,19 @@ enum csc_policy { CSC_POLICY_DISABLE=3 }; +/* TCONX Flag (smb_vwv2). [MS-SMB] 2.2.4.7.1 */ +#define TCONX_FLAG_DISCONNECT_TID 0x0001 +#define TCONX_FLAG_EXTENDED_SIGNATURES 0x0004 +#define TCONX_FLAG_EXTENDED_RESPONSE 0x0008 + +/* this is used on a TConX. [MS-SMB] 2.2.4.7.2 */ +#define SMB_SUPPORT_SEARCH_BITS 0x0001 +#define SMB_SHARE_IN_DFS 0x0002 +#define SMB_CSC_MASK 0x000C +#define SMB_CSC_POLICY_SHIFT 2 +#define SMB_UNIQUE_FILE_NAME 0x0010 +#define SMB_EXTENDED_SIGNATURES 0x0020 + /* NT Flags2 bits - cifs6.txt section 3.1.2 */ #define FLAGS2_LONG_PATH_COMPONENTS 0x0001 #define FLAGS2_EXTENDED_ATTRIBUTES 0x0002 |