1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 08:38:49 -05:00
curl/lib/vauth
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
..
cleartext.c curl.se: new home 2020-11-04 23:59:47 +01:00
cram.c curl.se: new home 2020-11-04 23:59:47 +01:00
digest_sspi.c failf: remove newline from formatting strings 2020-12-25 23:42:16 +01:00
digest.c misc: fix "warning: empty expression statement has no effect" 2020-12-26 23:44:17 +01:00
digest.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
gsasl.c gsasl: fix errors/warnings building against libgsasl 2021-02-10 18:55:58 +00:00
krb5_gssapi.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
krb5_sspi.c failf: remove newline from formatting strings 2020-12-25 23:42:16 +01:00
ntlm_sspi.c failf: remove newline from formatting strings 2020-12-25 23:42:16 +01:00
ntlm.c ntlm: fix negotiated flags usage 2021-04-09 09:40:56 +02:00
ntlm.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
oauth2.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
spnego_gssapi.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
spnego_sspi.c failf: remove newline from formatting strings 2020-12-25 23:42:16 +01:00
vauth.c curl.se: new home 2020-11-04 23:59:47 +01:00
vauth.h copyright: update copyright year ranges to 2021 2021-03-27 23:00:14 +01:00