summaryrefslogtreecommitdiff
path: root/libcli/smb
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-03-01 00:59:54 +0100
committerMichael Adam <obnox@samba.org>2012-03-03 17:03:06 +0100
commit6f860837e59a65eef82550944c8caca67ef7ff45 (patch)
tree94672a1d1eb163059614b9dcdeaad4ae222b2556 /libcli/smb
parent8c5d288ecf1c7ff1badba046f52038b91fa7adc0 (diff)
downloadsamba-6f860837e59a65eef82550944c8caca67ef7ff45.tar.gz
samba-6f860837e59a65eef82550944c8caca67ef7ff45.tar.bz2
samba-6f860837e59a65eef82550944c8caca67ef7ff45.zip
libcli:smb: upgrade SMB2_CAP_ALL to include the newly known caps
Diffstat (limited to 'libcli/smb')
-rw-r--r--libcli/smb/smb2_constants.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libcli/smb/smb2_constants.h b/libcli/smb/smb2_constants.h
index 9408be391b..eaf1958ac4 100644
--- a/libcli/smb/smb2_constants.h
+++ b/libcli/smb/smb2_constants.h
@@ -94,7 +94,14 @@
#define SMB2_CAP_ENCRYPTION 0x00000040 /* only in dialect >= 0x222 */
/* so we can spot new caps as added */
-#define SMB2_CAP_ALL SMB2_CAP_DFS
+#define SMB2_CAP_ALL (\
+ SMB2_CAP_DFS | \
+ SMB2_CAP_LEASING | \
+ SMB2_CAP_LARGE_MTU | \
+ SMB2_CAP_MULTI_CHANNEL | \
+ SMB2_CAP_PERSISTENT_HANDLES | \
+ SMB2_CAP_ENCRYPTION)
+
/* SMB2 session flags */
#define SMB2_SESSION_FLAG_IS_GUEST 0x0001