From 00704521a01f9c5d7448f98b9a490c2e66a8d9cd Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Thu, 24 Oct 2024 16:00:45 +1000 Subject: [PATCH] NTLMSSP: remove the key-exchange flag forntlmssp This flag breaks compatibility with windows 2016 and other servers. Signed-off-by: Ronnie Sahlberg --- lib/ntlmssp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ntlmssp.c b/lib/ntlmssp.c index b8865b2a..c1413754 100644 --- a/lib/ntlmssp.c +++ b/lib/ntlmssp.c @@ -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| */