Home
last modified time | relevance | path

Searched refs:passwd (Results 1 – 25 of 47) sorted by relevance

12

/curl/lib/
H A Dcurl_sspi.c149 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 Dcurl_sasl.c373 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 Dldap.c254 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 Durl.c588 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 Dsetup-vms.h78 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 Dmqtt.c172 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 Dhttp_negotiate.c59 passwdp = conn->http_proxy.passwd; in Curl_input_negotiate()
71 passwdp = conn->passwd; in Curl_input_negotiate()
H A Dopenldap.c408 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 Dcleartext.c64 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 Ddigest_sspi.c438 (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 Dtest22517 ftp://bad%0auser:passwd@%HOSTIP:%FTPPORT/%TESTNUMBER%0a
H A Dtest130426 machine example.com login admin password passwd
H A Dtest13235 FTP (optional .netrc; user/passwd supplied) dir list PASV
H A Dtest13335 FTP compulsory .netrc; ignore passwd in URL
H A Dtest13435 FTP (optional .netrc; programmatic user/passwd) dir list PASV
/curl/docs/cmdline-opts/
H A Dproxy-anyauth.md14 - --proxy-anyauth --proxy-user user:passwd -x proxy $URL
H A Dproxy-digest.md14 - --proxy-digest --proxy-user user:passwd -x proxy $URL
H A Dproxy-ntlm.md14 - --proxy-ntlm --proxy-user user:passwd -x http://proxy $URL
H A Dproxy-negotiate.md14 - --proxy-negotiate --proxy-user user:passwd -x proxy $URL
H A Dpath-as-is.md12 - --path-as-is https://example.com/../../etc/passwd
H A Dproxy-basic.md14 - --proxy-basic --proxy-user user:passwd -x proxy $URL
H A Dproxy-tlspassword.md14 - --proxy-tlspassword passwd -x https://proxy $URL
H A Dproxy-cert.md5 Arg: <cert[:passwd]>
/curl/src/
H A Dtool_paramhlp.c550 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 Dtool_findfile.c145 struct passwd *pw = getpwuid(geteuid()); in findfile()

Completed in 70 milliseconds

12