1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

libcli:smb: add new SMB2 share flags

* FORCE_LEVELII_OPLOCKS
* ENABLE_HASH_V1
* ENABLE_HASH_V2
* ENCRYPT_DATA
This commit is contained in:
Michael Adam 2012-03-02 19:01:50 +01:00
parent 6f860837e5
commit db632fdd2c

View File

@ -123,7 +123,11 @@
#define SMB2_SHAREFLAG_FORCE_SHARED_DELETE 0x0200
#define SMB2_SHAREFLAG_ALLOW_NAMESPACE_CACHING 0x0400
#define SMB2_SHAREFLAG_ACCESS_BASED_DIRECTORY_ENUM 0x0800
#define SMB2_SHAREFLAG_ALL 0x0F33
#define SMB2_SHAREFLAG_FORCE_LEVELII_OPLOCKS 0x1000
#define SMB2_SHAREFLAG_ENABLE_HASH_V1 0x2000
#define SMB2_SHAREFLAG_ENABLE_HASH_V2 0x4000
#define SMB2_SHAREFLAG_ENCRYPT_DATA 0x8000
#define SMB2_SHAREFLAG_ALL 0xFF33
/* SMB2 share capabilities */
#define SMB2_SHARE_CAP_DFS 0x8