summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-03-02 19:01:50 +0100
committerMichael Adam <obnox@samba.org>2012-03-03 17:03:06 +0100
commitdb632fdd2c5d14bcd05edc424ff66d7a3248dc2a (patch)
treee9789a42aee1f72a8d28f66052d3a8e6c2d8661d
parent6f860837e59a65eef82550944c8caca67ef7ff45 (diff)
downloadsamba-db632fdd2c5d14bcd05edc424ff66d7a3248dc2a.tar.gz
samba-db632fdd2c5d14bcd05edc424ff66d7a3248dc2a.tar.bz2
samba-db632fdd2c5d14bcd05edc424ff66d7a3248dc2a.zip
libcli:smb: add new SMB2 share flags
* FORCE_LEVELII_OPLOCKS * ENABLE_HASH_V1 * ENABLE_HASH_V2 * ENCRYPT_DATA
-rw-r--r--libcli/smb/smb2_constants.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libcli/smb/smb2_constants.h b/libcli/smb/smb2_constants.h
index eaf1958ac4..f8736403cc 100644
--- a/libcli/smb/smb2_constants.h
+++ b/libcli/smb/smb2_constants.h
@@ -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