From: Stefan Metzmacher Date: Wed, 11 Nov 2020 12:47:11 +0000 (+0100) Subject: libcli/smb: add SMB2_TRANSPORT_CAPABILITIES related defines to smb2_constants.h X-Git-Tag: samba-4.15.0rc1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24142c379645d1b56fc8ba33cdc3b239cecd3a0b;p=thirdparty%2Fsamba.git libcli/smb: add SMB2_TRANSPORT_CAPABILITIES related defines to smb2_constants.h Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- diff --git a/libcli/smb/smb2_constants.h b/libcli/smb/smb2_constants.h index 576f532999c..86bb6aee301 100644 --- a/libcli/smb/smb2_constants.h +++ b/libcli/smb/smb2_constants.h @@ -133,6 +133,7 @@ #define SMB2_ENCRYPTION_CAPABILITIES 0x0002 #define SMB2_COMPRESSION_CAPABILITIES 0x0003 #define SMB2_NETNAME_NEGOTIATE_CONTEXT_ID 0x0005 +#define SMB2_TRANSPORT_CAPABILITIES 0x0006 /* Values for the SMB2_PREAUTH_INTEGRITY_CAPABILITIES Context (>= 0x310) */ #define SMB2_PREAUTH_INTEGRITY_SHA512 0x0001 @@ -155,6 +156,9 @@ (((uint64_t)1 << (((nonce_len_bytes) - 8)*8)) - 1) \ )) +/* Values for the SMB2_TRANSPORT_CAPABILITIES Context (>= 0x311) */ +#define SMB2_ACCEPT_TRANSPORT_LEVEL_SECURITY 0x0001 + /* SMB2 session (request) flags */ #define SMB2_SESSION_FLAG_BINDING 0x01 /* SMB2_SESSION_FLAG_ENCRYPT_DATA 0x04 only in dialect >= 0x310 */