1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-03 18:59:46 -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-04-20 22:38:05 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2020-12-26 23:54:25 +01:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2020-08-24 08:41:48 +02:00
2020-08-24 08:41:48 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2020-09-02 09:27:51 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2021-04-09 09:40:56 +02:00
2019-11-25 15:45:56 +01:00
2020-08-15 00:10:36 +02:00
2021-04-09 09:40:56 +02:00
2019-10-21 17:28:48 +02:00
2018-05-31 11:27:16 +02:00
2021-02-09 00:28:19 +01:00