summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/negotiate.d
blob: e862bc82026bba6e2422d7067cc10eea953b64c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Long: negotiate
Help: Use HTTP Negotiate (SPNEGO) authentication
Protocols: HTTP
See-also: basic ntlm anyauth proxy-negotiate
Category: auth http
Example: --negotiate -u : $URL
---
Enables Negotiate (SPNEGO) authentication.

This option requires a library built with GSS-API or SSPI support. Use
--version to see if your curl supports GSS-API/SSPI or SPNEGO.

When using this option, you must also provide a fake --user option to activate
the authentication code properly. Sending a '-u :' is enough as the user name
and password from the --user option aren't actually used.

If this option is used several times, only the first one is used.