libcli/smb: add new COMPRESSION and NETNAME negotiate context ids
authorStefan Metzmacher <metze@samba.org>
Thu, 25 Jul 2019 12:37:31 +0000 (14:37 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 1 Aug 2019 14:21:36 +0000 (14:21 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14055

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
libcli/smb/smb2_constants.h

index 3dd462cdd691b603ebd19d59bac92a50282eb911..1430f02689c0cc536ba55ab5ce0a72a6c2ede1f6 100644 (file)
 /* Types of SMB2 Negotiate Contexts - only in dialect >= 0x310 */
 #define SMB2_PREAUTH_INTEGRITY_CAPABILITIES 0x0001
 #define SMB2_ENCRYPTION_CAPABILITIES        0x0002
+#define SMB2_COMPRESSION_CAPABILITIES       0x0003
+#define SMB2_NETNAME_NEGOTIATE_CONTEXT_ID   0x0005
 
 /* Values for the SMB2_PREAUTH_INTEGRITY_CAPABILITIES Context (>= 0x310) */
 #define SMB2_PREAUTH_INTEGRITY_SHA512       0x0001