From: Stefan Metzmacher Date: Thu, 25 Jul 2019 12:37:31 +0000 (+0200) Subject: libcli/smb: add new COMPRESSION and NETNAME negotiate context ids X-Git-Tag: samba-4.9.14~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b60134b8bba23786c5e5473a031bc90a4b3b4be;p=thirdparty%2Fsamba.git 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) --- 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