libcli:smb: upgrade SMB2_CAP_ALL to include the newly known caps
authorMichael Adam <obnox@samba.org>
Wed, 29 Feb 2012 23:59:54 +0000 (00:59 +0100)
committerMichael Adam <obnox@samba.org>
Sat, 3 Mar 2012 16:03:06 +0000 (17:03 +0100)
libcli/smb/smb2_constants.h

index 9408be391b9d916b332156ed0c19dde8f1e21e98..eaf1958ac408286aeac16bd5cd3d0c731dc05dbc 100644 (file)
 #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