mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
libcli/smb: add SMB2_TRANSPORT_CAPABILITIES related defines to smb2_constants.h
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
033716d9fd
commit
24142c3796
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user