From 9b60134b8bba23786c5e5473a031bc90a4b3b4be Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 25 Jul 2019 14:37:31 +0200 Subject: [PATCH] libcli/smb: add new COMPRESSION and NETNAME negotiate context ids BUG: https://bugzilla.samba.org/show_bug.cgi?id=14055 Signed-off-by: Stefan Metzmacher Reviewed-by: Aurelien Aptel (cherry picked from commit e10b90f33bb812600886656a1124e2d434416563) --- libcli/smb/smb2_constants.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcli/smb/smb2_constants.h b/libcli/smb/smb2_constants.h index f6edf6ba109..e50e437d058 100644 --- a/libcli/smb/smb2_constants.h +++ b/libcli/smb/smb2_constants.h @@ -131,6 +131,8 @@ /* 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 -- 2.47.2