[PATCH] add flag definition for new share capability
Steve French
smfrench at gmail.com
Fri Jun 21 12:43:38 MDT 2013
>From 52a63f3ec484cbacf3b9483e6e1502693c322252 Mon Sep 17 00:00:00 2001
From: Steve French <smfrench at gmail.com>
Date: Fri, 21 Jun 2013 13:40:14 -0500
Subject: [PATCH] Add missing SMB2/SMB3 share capability flag define
SMB3.02 adds SHARE_CAP_ASYMMETRIC
Signed-off-by: Steve French <smfrench at gmail.com>
---
libcli/smb/smb2_constants.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libcli/smb/smb2_constants.h b/libcli/smb/smb2_constants.h
index 60fedbb..54ab250 100644
--- a/libcli/smb/smb2_constants.h
+++ b/libcli/smb/smb2_constants.h
@@ -157,6 +157,7 @@
#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 */
+#define SMB2_SHARE_CAP_ASYMMETRIC 0x80 /* in dialect >= 0x302 */
/* SMB2 create security flags */
#define SMB2_SECURITY_DYNAMIC_TRACKING 0x01
--
1.7.11.7
--
Thanks,
Steve
More information about the samba-technical
mailing list