/curl/lib/ |
H A D | curl_sspi.c | 149 xcharp_u passwd, dup_passwd; in Curl_create_sspi_identity() local 201 passwd.tchar_ptr = curlx_convert_UTF8_to_tchar((char *)passwdp); in Curl_create_sspi_identity() 202 if(!passwd.tchar_ptr) in Curl_create_sspi_identity() 204 dup_passwd.tchar_ptr = _tcsdup(passwd.tchar_ptr); in Curl_create_sspi_identity() 206 curlx_unicodefree(passwd.tchar_ptr); in Curl_create_sspi_identity() 213 curlx_unicodefree(passwd.tchar_ptr); in Curl_create_sspi_identity()
|
H A D | curl_sasl.c | 373 if((enabledmechs & SASL_MECH_EXTERNAL) && !conn->passwd[0]) { in Curl_sasl_start() 393 conn->passwd, in Curl_sasl_start() 412 conn->passwd, &conn->gsasl); in Curl_sasl_start() 425 conn->passwd, &conn->gsasl); in Curl_sasl_start() 491 conn->user, conn->passwd, in Curl_sasl_start() 576 conn->user, conn->passwd, &resp); in Curl_sasl_continue() 583 Curl_auth_create_login_message(conn->passwd, &resp); in Curl_sasl_continue() 602 conn->passwd, &resp); in Curl_sasl_continue() 608 conn->user, conn->passwd, in Curl_sasl_continue() 622 conn->user, conn->passwd, in Curl_sasl_continue() [all …]
|
H A D | ldap.c | 254 if(method && user && passwd) { in ldap_win_bind_auth() 255 CURLcode res = Curl_create_sspi_identity(user, passwd, &cred); in ldap_win_bind_auth() 272 const char *user, const char *passwd) in ldap_win_bind() argument 279 if(user && passwd && (data->set.httpauth & CURLAUTH_BASIC)) { in ldap_win_bind() 281 inpass = curlx_convert_UTF8_to_tchar((char *) passwd); in ldap_win_bind() 330 char *passwd = NULL; in ldap_do() local 367 passwd = conn->passwd; in ldap_do() 519 rc = ldap_win_bind(data, server, user, passwd); in ldap_do() 521 rc = ldap_simple_bind_s(server, user, passwd); in ldap_do() 527 rc = ldap_win_bind(data, server, user, passwd); in ldap_do() [all …]
|
H A D | url.c | 588 Curl_safefree(conn->passwd); in Curl_conn_free() 701 Curl_timestrcmp(data->passwd, needle->passwd)) in socks_proxy_info_matches() 1022 Curl_timestrcmp(needle->passwd, conn->passwd) || in url_match_conn() 1119 Curl_timestrcmp(needle->passwd, conn->passwd)) { in url_match_conn() 2499 conn->socks_proxy.passwd = conn->http_proxy.passwd; 2814 if(!conn->passwd) { 2816 if(!conn->passwd) 3280 existing->passwd = temp->passwd; 3282 temp->passwd = NULL; 3295 existing->http_proxy.passwd = temp->http_proxy.passwd; [all …]
|
H A D | setup-vms.h | 78 struct passwd *decc_getpwuid(uid_t uid); 141 static struct passwd vms_passwd_cache; 143 static struct passwd *vms_getpwuid(uid_t uid) in vms_getpwuid() 145 struct passwd *my_passwd; in vms_getpwuid()
|
H A D | mqtt.c | 172 static int add_passwd(const char *passwd, const size_t plen, in add_passwd() argument 186 memcpy(&pkt[start + 2], passwd, plen); in add_passwd() 271 const char *passwd = data->state.aptr.passwd ? in mqtt_connect() local 272 data->state.aptr.passwd : ""; in mqtt_connect() 273 const size_t plen = strlen(passwd); in mqtt_connect() 330 rc = add_passwd(passwd, plen, packet, start_pwd, remain_pos); in mqtt_connect() 345 Curl_safefree(data->state.aptr.passwd); in mqtt_connect()
|
H A D | http_negotiate.c | 59 passwdp = conn->http_proxy.passwd; in Curl_input_negotiate() 71 passwdp = conn->passwd; in Curl_input_negotiate()
|
H A D | openldap.c | 408 struct berval passwd; in oldap_perform_bind() local 411 passwd.bv_val = NULL; in oldap_perform_bind() 412 passwd.bv_len = 0; in oldap_perform_bind() 416 passwd.bv_val = conn->passwd; in oldap_perform_bind() 417 passwd.bv_len = strlen(passwd.bv_val); in oldap_perform_bind() 420 rc = ldap_sasl_bind(li->ld, binddn, LDAP_SASL_SIMPLE, &passwd, in oldap_perform_bind()
|
/curl/lib/vauth/ |
H A D | cleartext.c | 64 const char *passwd, in Curl_auth_create_plain_message() argument 75 plen = strlen(passwd); in Curl_auth_create_plain_message() 93 memcpy(plainauth + zlen + clen + 2, passwd, plen); in Curl_auth_create_plain_message()
|
H A D | digest_sspi.c | 438 (passwdp && !digest->passwd) || (!passwdp && digest->passwd) || in Curl_auth_create_digest_http_message() 440 (passwdp && digest->passwd && Curl_timestrcmp(passwdp, digest->passwd))) { in Curl_auth_create_digest_http_message() 446 Curl_safefree(digest->passwd); in Curl_auth_create_digest_http_message() 493 Curl_safefree(digest->passwd); in Curl_auth_create_digest_http_message() 526 digest->passwd = strdup(passwdp); in Curl_auth_create_digest_http_message() 528 if(!digest->passwd) { in Curl_auth_create_digest_http_message() 673 Curl_safefree(digest->passwd); in Curl_auth_digest_cleanup()
|
/curl/tests/data/ |
H A D | test225 | 17 ftp://bad%0auser:passwd@%HOSTIP:%FTPPORT/%TESTNUMBER%0a
|
H A D | test1304 | 26 machine example.com login admin password passwd
|
H A D | test132 | 35 FTP (optional .netrc; user/passwd supplied) dir list PASV
|
H A D | test133 | 35 FTP compulsory .netrc; ignore passwd in URL
|
H A D | test134 | 35 FTP (optional .netrc; programmatic user/passwd) dir list PASV
|
/curl/docs/cmdline-opts/ |
H A D | proxy-anyauth.md | 14 - --proxy-anyauth --proxy-user user:passwd -x proxy $URL
|
H A D | proxy-digest.md | 14 - --proxy-digest --proxy-user user:passwd -x proxy $URL
|
H A D | proxy-ntlm.md | 14 - --proxy-ntlm --proxy-user user:passwd -x http://proxy $URL
|
H A D | proxy-negotiate.md | 14 - --proxy-negotiate --proxy-user user:passwd -x proxy $URL
|
H A D | path-as-is.md | 12 - --path-as-is https://example.com/../../etc/passwd
|
H A D | proxy-basic.md | 14 - --proxy-basic --proxy-user user:passwd -x proxy $URL
|
H A D | proxy-tlspassword.md | 14 - --proxy-tlspassword passwd -x https://proxy $URL
|
H A D | proxy-cert.md | 5 Arg: <cert[:passwd]>
|
/curl/src/ |
H A D | tool_paramhlp.c | 550 char passwd[2048] = ""; in checkpasswd() local 569 getpass_r(prompt, passwd, sizeof(passwd)); in checkpasswd() 573 if(curlx_dyn_addf(&dyn, "%s:%s", *userpwd, passwd)) in checkpasswd()
|
H A D | tool_findfile.c | 145 struct passwd *pw = getpwuid(geteuid()); in findfile()
|