]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
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)
committerKarolin Seeger <kseeger@samba.org>
Wed, 11 Sep 2019 10:31:14 +0000 (10:31 +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>
(cherry picked from commit e10b90f33bb812600886656a1124e2d434416563)

libcli/smb/smb2_constants.h

index f6edf6ba109d9fa5d8591901e6bfd978581e2509..e50e437d0584a58a3c68bfb7f30869aceb8cdd08 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