1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-03 10:51:49 -05:00
Patrick Monnerat 9c1e1a6105
ntlm: fix negotiated flags usage
According to Microsoft document MS-NLMP, current flags usage is not
accurate: flag NTLMFLAG_NEGOTIATE_NTLM2_KEY controls the use of
extended security in an NTLM authentication message and NTLM version 2
cannot be negotiated within the protocol.

The solution implemented here is: if the extended security flag is set,
prefer using NTLM version 2 (as a server featuring extended security
should also support version 2). If version 2 has been disabled at
compile time, use extended security.

Tests involving NTLM are adjusted to this new behavior.

Fixes #6813
Closes #6849
2021-04-09 09:40:56 +02:00
..
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2021-04-09 09:40:56 +02:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00