mirror of
https://github.com/curl/curl.git
synced 2026-08-26 20:23:32 +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
10
lib/url.c
10
lib/url.c
|
|
@ -1388,9 +1388,8 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
|
|||
#ifndef USE_NTLM
|
||||
auth &= ~CURLAUTH_NTLM; /* no NTLM without SSL */
|
||||
#endif
|
||||
#ifndef USE_NTLM_SSO
|
||||
auth &= ~CURLAUTH_NTLM_WB; /* no NTLM single-sign-on without SSL
|
||||
and ntlm_auth */
|
||||
#ifndef WINBIND_NTLM_AUTH_ENABLED
|
||||
auth &= ~CURLAUTH_NTLM_WB;
|
||||
#endif
|
||||
#ifndef USE_HTTP_NEGOTIATE
|
||||
auth &= ~CURLAUTH_GSSNEGOTIATE; /* no GSS-Negotiate without GSSAPI or
|
||||
|
|
@ -1453,9 +1452,8 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
|
|||
#ifndef USE_NTLM
|
||||
auth &= ~CURLAUTH_NTLM; /* no NTLM without SSL */
|
||||
#endif
|
||||
#ifndef USE_NTLM_SSO
|
||||
auth &= ~CURLAUTH_NTLM_WB; /* no NTLM single-sign-on without SSL
|
||||
and ntlm_auth */
|
||||
#ifndef WINBIND_NTLM_AUTH_ENABLED
|
||||
auth &= ~CURLAUTH_NTLM_WB;
|
||||
#endif
|
||||
#ifndef USE_HTTP_NEGOTIATE
|
||||
auth &= ~CURLAUTH_GSSNEGOTIATE; /* no GSS-Negotiate without GSSAPI or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue