Skip to content

Commit

Permalink
14046 Windows Server 2022 and Windows 11 cannot connect to SMB share
Browse files Browse the repository at this point in the history
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
  • Loading branch information
citrus-it committed Sep 15, 2021
1 parent 94733b3 commit 74e3b2c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions usr/src/uts/common/fs/smbsrv/smb2_negotiate.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,13 @@ typedef struct smb2_negotiate_ctx {
#define SMB31_PREAUTH_CTX_SALT_LEN 32

/*
* SMB 3.1.1 specifies the only hashing algorithm - SHA-512 and
* SMB 3.1.1 originally specified a single hashing algorithm - SHA-512 - and
* two encryption ones - AES-128-CCM and AES-128-GCM.
* Windows Server 2022 and Windows 11 introduced two further encryption
* algorithms - AES-256-CCM and AES-256-GCM.
*/
#define MAX_HASHID_NUM (1)
#define MAX_CIPHER_NUM (2)
#define MAX_CIPHER_NUM (4)

typedef struct smb2_preauth_integrity_caps {
uint16_t picap_hash_count;
Expand Down

0 comments on commit 74e3b2c

Please sign in to comment.