summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-02-28 15:48:46 +0100
committerMichael Adam <obnox@samba.org>2012-03-03 17:03:06 +0100
commit8c5d288ecf1c7ff1badba046f52038b91fa7adc0 (patch)
tree6e3a9738cfd2d6e44f55cf5539cbfb6fa9b84a9e
parent29eed6359ad83f631f2c6019a7e36524d18fe670 (diff)
downloadsamba-8c5d288ecf1c7ff1badba046f52038b91fa7adc0.tar.gz
samba-8c5d288ecf1c7ff1badba046f52038b91fa7adc0.tar.bz2
samba-8c5d288ecf1c7ff1badba046f52038b91fa7adc0.zip
libcli:smb: add defines for SMB2.2 share capabilities
* continuous avaliability * cluster * scaleout
-rw-r--r--libcli/smb/smb2_constants.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libcli/smb/smb2_constants.h b/libcli/smb/smb2_constants.h
index 2b1223c240..9408be391b 100644
--- a/libcli/smb/smb2_constants.h
+++ b/libcli/smb/smb2_constants.h
@@ -119,7 +119,10 @@
#define SMB2_SHAREFLAG_ALL 0x0F33
/* SMB2 share capabilities */
-#define SMB2_SHARE_CAP_DFS 0x8
+#define SMB2_SHARE_CAP_DFS 0x8
+#define SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY 0x10 /* in dialect >= 0x222 */
+#define SMB2_SHARE_CAP_SCALEOUT 0x20 /* in dialect >= 0x222 */
+#define SMB2_SHARE_CAP_CLUSTER 0x40 /* in dialect >= 0x222 */
/* SMB2 create security flags */
#define SMB2_SECURITY_DYNAMIC_TRACKING 0x01