mirror of
https://github.com/curl/curl.git
synced 2026-07-27 03:27:15 +03:00
NTLM single-sign on adjustments (XI)
Feature string literal NTLM_SSO renamed to NTLM_WB. Preprocessor symbol USE_NTLM_SSO renamed to WINBIND_NTLM_AUTH_ENABLED. curl's 'long' option 'ntlm-sso' renamed to 'ntlm-wb'. Fix some comments to make clear that this is actually a NTLM delegation.
This commit is contained in:
parent
e18c3f447e
commit
b4f6319cf7
10 changed files with 27 additions and 37 deletions
|
|
@ -1879,7 +1879,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
{"*k", "digest", FALSE},
|
||||
{"*l", "negotiate", FALSE},
|
||||
{"*m", "ntlm", FALSE},
|
||||
{"*M", "ntlm-sso", FALSE},
|
||||
{"*M", "ntlm-wb", FALSE},
|
||||
{"*n", "basic", FALSE},
|
||||
{"*o", "anyauth", FALSE},
|
||||
#ifdef USE_WATT32
|
||||
|
|
@ -2235,7 +2235,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
config->authtype &= ~CURLAUTH_NTLM;
|
||||
break;
|
||||
|
||||
case 'M': /* --ntlm-sso */
|
||||
case 'M': /* --ntlm-wb */
|
||||
if(toggle) {
|
||||
if(curlinfo->features & CURL_VERSION_NTLM_WB)
|
||||
config->authtype |= CURLAUTH_NTLM_WB;
|
||||
|
|
@ -3229,7 +3229,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
{"IPv6", CURL_VERSION_IPV6},
|
||||
{"Largefile", CURL_VERSION_LARGEFILE},
|
||||
{"NTLM", CURL_VERSION_NTLM},
|
||||
{"NTLM_SSO", CURL_VERSION_NTLM_WB},
|
||||
{"NTLM_WB", CURL_VERSION_NTLM_WB},
|
||||
{"SPNEGO", CURL_VERSION_SPNEGO},
|
||||
{"SSL", CURL_VERSION_SSL},
|
||||
{"SSPI", CURL_VERSION_SSPI},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue