On Mon, 28 Jul 2025, jicea via curl-users wrote:
I've a simple questions regarding --ntlm and --negotiate option. In the manual for ntlm, it is written that "--ntlm requires that libcurl is built to support TLS. This option is mutually exclusive with --basic, --negotiate, --digest and --anyauth. See also --proxy-ntlm."
That is wrong. Those options are not mutually exclusive, they actually enable/disable those specific authentication methods.
I'm fixing that mistake here: https://github.com/curl/curl/pull/18059
- Are --ntlm and --negotiate exclusive? if yes, what's the choosen one if both options are provided?
Using --ntlm and --negotiate means either of those authentication methods are fine to use.
- mutual exclusive options like negotiate and ntlm seems to be accepted
Yeah, the docs is wrong, sorry! -- / daniel.haxx.se || https://rock-solid.curl.dev -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html