Skip to content

Commit

Permalink
NTLMSSP: remove the key-exchange flag forntlmssp
Browse files Browse the repository at this point in the history
This flag breaks compatibility with windows 2016 and other
servers.

Signed-off-by: Ronnie Sahlberg <[email protected]>
  • Loading branch information
sahlberg committed Oct 24, 2024
1 parent 5e06a81 commit 0070452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ntlmssp.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ encode_ntlm_negotiate_message(struct smb2_context *smb2, struct auth_data *auth_

flags = NTLMSSP_NEGOTIATE_128|
NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY|
NTLMSSP_NEGOTIATE_KEY_EXCH|
/* NTLMSSP_NEGOTIATE_KEY_EXCH| */
/* NTLMSSP_NEGOTIATE_VERSION| */
/* NTLMSSP_NEGOTIATE_TARGET_INFO| */
/* NTLMSSP_NEGOTIATE_ALWAYS_SIGN| */
Expand Down

0 comments on commit 0070452

Please sign in to comment.