/curl/lib/vauth/ |
H A D | ntlm_sspi.c | 119 ntlm->output_token = malloc(ntlm->token_max); in Curl_auth_create_ntlm_type1_message() 120 if(!ntlm->output_token) in Curl_auth_create_ntlm_type1_message() 132 ntlm->p_identity = &ntlm->identity; in Curl_auth_create_ntlm_type1_message() 140 if(!ntlm->credentials) in Curl_auth_create_ntlm_type1_message() 154 if(!ntlm->context) in Curl_auth_create_ntlm_type1_message() 158 if(!ntlm->spn) in Curl_auth_create_ntlm_type1_message() 219 if(!ntlm->input_token) in Curl_auth_decode_ntlm_type2_message() 281 if(ntlm->sslContext) { in Curl_auth_create_ntlm_type3_message() 286 ntlm->sslContext, in Curl_auth_create_ntlm_type3_message() 345 if(ntlm->context) { in Curl_auth_cleanup_ntlm() [all …]
|
H A D | ntlm.c | 186 if(!ntlm->target_info) in ntlm_decode_type2_target() 191 ntlm->target_info_len = target_info_len; in ntlm_decode_type2_target() 271 ntlm->flags = 0; in Curl_auth_decode_ntlm_type2_message() 281 ntlm->flags = Curl_read32_le(&type2[20]); in Curl_auth_decode_ntlm_type2_message() 282 memcpy(ntlm->nonce, &type2[24], 8); in Curl_auth_decode_ntlm_type2_message() 294 ntlm_print_flags(stderr, ntlm->flags); in Curl_auth_decode_ntlm_type2_message() 372 Curl_auth_cleanup_ntlm(ntlm); in Curl_auth_create_ntlm_type1_message() 701 LONGQUARTET(ntlm->flags), ntlm->flags); in Curl_auth_create_ntlm_type3_message() 740 Curl_auth_cleanup_ntlm(ntlm); in Curl_auth_create_ntlm_type3_message() 758 Curl_safefree(ntlm->target_info); in Curl_auth_cleanup_ntlm() [all …]
|
H A D | vauth.h | 153 struct ntlmdata *ntlm, 159 struct ntlmdata *ntlm); 165 struct ntlmdata *ntlm, 169 void Curl_auth_cleanup_ntlm(struct ntlmdata *ntlm);
|
/curl/docs/cmdline-opts/ |
H A D | ntlm-wb.md | 4 Long: ntlm-wb 11 - ntlm 12 - proxy-ntlm 14 - --ntlm-wb -u user:password $URL 17 # `--ntlm-wb` 21 Enabled NTLM much in the style --ntlm does, but handed over the authentication
|
H A D | proxy-ntlm.md | 4 Long: proxy-ntlm 14 - --proxy-ntlm --proxy-user user:passwd -x http://proxy $URL 17 # `--proxy-ntlm` 20 --ntlm for enabling NTLM with a remote host.
|
H A D | ntlm.md | 4 Long: ntlm 13 - proxy-ntlm 15 - --ntlm -u user:password $URL 18 # `--ntlm` 28 --proxy-ntlm.
|
H A D | digest.md | 7 Mutexed: basic ntlm negotiate
|
H A D | basic.md | 21 --ntlm, --digest, or --negotiate).
|
H A D | oauth2-bearer.md | 13 - ntlm
|
H A D | negotiate.md | 12 - ntlm
|
H A D | anyauth.md | 24 method, which you can do with --basic, --digest, --ntlm, and --negotiate.
|
H A D | Makefile.inc | 180 ntlm-wb.md \ 181 ntlm.md \ 215 proxy-ntlm.md \
|
/curl/lib/ |
H A D | http_ntlm.c | 70 struct ntlmdata *ntlm; in Curl_input_ntlm() local 75 ntlm = proxy ? &conn->proxyntlm : &conn->ntlm; in Curl_input_ntlm() 94 result = Curl_auth_decode_ntlm_type2_message(data, &hdrbuf, ntlm); in Curl_input_ntlm() 146 struct ntlmdata *ntlm; in Curl_output_ntlm() local 162 ntlm = &conn->proxyntlm; in Curl_output_ntlm() 176 ntlm = &conn->ntlm; in Curl_output_ntlm() 197 ntlm->sslContext = conn->sslContext; in Curl_output_ntlm() 214 ntlm, &ntlmmsg); in Curl_output_ntlm() 234 ntlm, &ntlmmsg); in Curl_output_ntlm() 266 Curl_auth_cleanup_ntlm(&conn->ntlm); in Curl_http_auth_cleanup_ntlm()
|
H A D | curl_ntlm_core.c | 136 #define NTLMv2_BLOB_LEN (44 -16 + ntlm->target_info_len + 4) 557 struct ntlmdata *ntlm, in Curl_ntlm_core_mk_ntlmv2_resp() argument 611 if(ntlm->target_info_len) in Curl_ntlm_core_mk_ntlmv2_resp() 612 memcpy(ptr + 44, ntlm->target_info, ntlm->target_info_len); in Curl_ntlm_core_mk_ntlmv2_resp() 615 memcpy(ptr + 8, &ntlm->nonce[0], 8); in Curl_ntlm_core_mk_ntlmv2_resp()
|
H A D | curl_ntlm_core.h | 59 struct ntlmdata *ntlm,
|
H A D | curl_sasl.c | 113 Curl_auth_cleanup_ntlm(&conn->ntlm); in Curl_sasl_cleanup() 457 &conn->ntlm, &resp); in Curl_sasl_start() 624 &conn->ntlm, &resp); in Curl_sasl_continue() 632 &conn->ntlm); in Curl_sasl_continue() 635 conn->passwd, &conn->ntlm, in Curl_sasl_continue()
|
/curl/tests/data/ |
H A D | test170 | 28 HTTP POST with --proxy-ntlm and no SSL with no response 31 …way/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value"
|
H A D | test162 | 38 HTTP GET asking for --proxy-ntlm when some other authentication is required 41 …TIP:%HTTPPORT/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm --fail
|
H A D | test1097 | 53 HTTP POST using CONNECT with --proxy-ntlm but no auth is required 56 …/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -d "dummy=value" -p
|
H A D | test2057 | 6 HTTP Negotiate auth (stub ntlm) 11 <!-- First request, expect 401 (ntlm challenge) -->
|
H A D | test176 | 58 HTTP POST --ntlm to server not requiring any auth at all 61 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --ntlm -d "junkelijunk"
|
H A D | test159 | 57 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm -0
|
/curl/packages/vms/ |
H A D | gnv_curl_configure.sh | 42 --disable-libtool-lock --with-gssapi --disable-ntlm-wb \
|
/curl/docs/libcurl/ |
H A D | libcurl-env.md | 71 Username to use when invoking the *ntlm-wb* tool, if *NTLMUSER* was 82 Username to use when invoking the *ntlm-wb* tool. 96 Username to use when invoking the *ntlm-wb* tool, if *NTLMUSER* and *LOGNAME*
|
/curl/docs/ |
H A D | options-in-versions | 145 --ntlm 7.10.6 146 --ntlm-wb 7.22.0 181 --proxy-ntlm 7.10.7
|