xref: /aosp_15_r20/external/curl/docs/cmdline-opts/ntlm.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: ntlm
5*6236dae4SAndroid Build Coastguard WorkerHelp: HTTP NTLM authentication
6*6236dae4SAndroid Build Coastguard WorkerMutexed: basic negotiate digest anyauth
7*6236dae4SAndroid Build Coastguard WorkerProtocols: HTTP
8*6236dae4SAndroid Build Coastguard WorkerRequires: TLS
9*6236dae4SAndroid Build Coastguard WorkerCategory: auth http
10*6236dae4SAndroid Build Coastguard WorkerAdded: 7.10.6
11*6236dae4SAndroid Build Coastguard WorkerMulti: mutex
12*6236dae4SAndroid Build Coastguard WorkerSee-also:
13*6236dae4SAndroid Build Coastguard Worker  - proxy-ntlm
14*6236dae4SAndroid Build Coastguard WorkerExample:
15*6236dae4SAndroid Build Coastguard Worker  - --ntlm -u user:password $URL
16*6236dae4SAndroid Build Coastguard Worker---
17*6236dae4SAndroid Build Coastguard Worker
18*6236dae4SAndroid Build Coastguard Worker# `--ntlm`
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard WorkerUse NTLM authentication. The NTLM authentication method was designed by
21*6236dae4SAndroid Build Coastguard WorkerMicrosoft and is used by IIS web servers. It is a proprietary protocol,
22*6236dae4SAndroid Build Coastguard Workerreverse-engineered by clever people and implemented in curl based on their
23*6236dae4SAndroid Build Coastguard Workerefforts. This kind of behavior should not be endorsed, you should encourage
24*6236dae4SAndroid Build Coastguard Workereveryone who uses NTLM to switch to a public and documented authentication
25*6236dae4SAndroid Build Coastguard Workermethod instead, such as Digest.
26*6236dae4SAndroid Build Coastguard Worker
27*6236dae4SAndroid Build Coastguard WorkerIf you want to enable NTLM for your proxy authentication, then use
28*6236dae4SAndroid Build Coastguard Worker--proxy-ntlm.
29