Home
last modified time | relevance | path

Searched refs:sasl (Results 1 – 25 of 36) sorted by relevance

12

/curl/lib/
H A Dcurl_sasl.c169 if(sasl->resetprefs) { in Curl_sasl_parse_url_auth_option()
262 (void *)sasl, names[sasl->state], names[newstate]); in sasl_state()
267 sasl->state = newstate; in sasl_state()
332 if(sasl->authmechs & sasl->prefmech & SASL_MECH_EXTERNAL) in Curl_sasl_can_authenticate()
368 enabledmechs = sasl->authmechs & sasl->prefmech; in Curl_sasl_start()
563 if(sasl->state != SASL_CANCEL && sasl->state != SASL_OAUTH2_RESP && in Curl_sasl_continue()
570 switch(sasl->state) { in Curl_sasl_continue()
725 sasl->authmechs ^= sasl->authused; in Curl_sasl_continue()
728 return Curl_sasl_start(sasl, data, sasl->force_ir, progress); in Curl_sasl_continue()
740 result = sasl->params->cancelauth(data, sasl->curmech); in Curl_sasl_continue()
[all …]
H A Dcurl_sasl.h147 CURLcode Curl_sasl_parse_url_auth_option(struct SASL *sasl,
151 void Curl_sasl_init(struct SASL *sasl, struct Curl_easy *data,
155 bool Curl_sasl_can_authenticate(struct SASL *sasl, struct Curl_easy *data);
158 CURLcode Curl_sasl_start(struct SASL *sasl, struct Curl_easy *data,
162 CURLcode Curl_sasl_continue(struct SASL *sasl, struct Curl_easy *data,
H A Dsmtp.h72 struct SASL sasl; /* SASL-related storage */ member
H A Dpop3.h69 struct SASL sasl; /* SASL-related storage */ member
H A Dimap.h75 struct SASL sasl; /* SASL-related parameters */ member
H A Dopenldap.c188 struct SASL sasl; /* SASL-related parameters */ member
529 Curl_sasl_init(&li->sasl, data, &saslldap); in oldap_connect()
585 if(li->sasl.prefmech != SASL_AUTH_NONE) in oldap_connect()
627 li->sasl.authmechs |= mech; in oldap_state_mechs_resp()
642 if(Curl_sasl_can_authenticate(&li->sasl, data)) in oldap_state_mechs_resp()
675 result = Curl_sasl_continue(&li->sasl, data, code, &progress); in oldap_state_sasl_resp()
755 li->sasl.prefmech == SASL_AUTH_NONE) { in oldap_connecting()
771 if(li->sasl.prefmech != SASL_AUTH_NONE) in oldap_connecting()
781 else if(li->sasl.prefmech != SASL_AUTH_NONE) in oldap_connecting()
797 if(li->sasl.prefmech != SASL_AUTH_NONE) in oldap_connecting()
[all …]
H A Dpop3.c386 pop3c->sasl.authmechs = SASL_AUTH_NONE; /* No known auth. mechanisms yet */ in pop3_perform_capa()
387 pop3c->sasl.authused = SASL_AUTH_NONE; /* Clear the auth. mechanism used */ in pop3_perform_capa()
610 if(!Curl_sasl_can_authenticate(&pop3c->sasl, data)) { in pop3_perform_authentication()
617 result = Curl_sasl_start(&pop3c->sasl, data, FALSE, &progress); in pop3_perform_authentication()
811 pop3c->sasl.authmechs |= mechbit; in pop3_state_capa_resp()
879 result = Curl_sasl_continue(&pop3c->sasl, data, pop3code, &progress); in pop3_state_auth_resp()
1187 Curl_sasl_init(&pop3c->sasl, data, &saslpop3); in pop3_connect()
1333 Curl_sasl_cleanup(conn, pop3c->sasl.authused); in pop3_disconnect()
1439 result = Curl_sasl_parse_url_auth_option(&pop3c->sasl, in pop3_parse_url_options()
1444 pop3c->sasl.prefmech = SASL_AUTH_NONE; in pop3_parse_url_options()
[all …]
/curl/docs/cmdline-opts/
H A Dsasl-ir.md4 Long: sasl-ir
10 - sasl-authzid
12 - --sasl-ir imap://example.com/
15 # `--sasl-ir`
H A Dsasl-authzid.md4 Long: sasl-authzid
13 - --sasl-authzid zid imap://example.com/
16 # `--sasl-authzid`
/curl/tests/data/
H A Dtest87142 pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --sasl-ir
H A Dtest88542 'pop3://user;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/%TESTNUMBER' --sasl-ir
H A Dtest88642 'pop3://;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/%TESTNUMBER' --sasl-ir
H A Dtest84840 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret --sasl-authzid shared-mailbox
H A Dtest87242 pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --sasl-ir
H A Dtest87442 pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
H A Dtest89242 pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --sasl-authzid shared-mailbox
H A Dtest84931 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u kurt:xipj3plmq --sasl-authzid ursel
H A Dtest87348 pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u testuser:testpass --sasl-ir
H A Dtest88843 pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
H A Dtest89333 pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u kurt:xipj3plmq --sasl-authzid ursel
H A Dtest91935 …MBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --sasl-ir -T -
H A Dtest92035 …MBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --sasl-ir -T -
H A Dtest94435 …TPPORT/%TESTNUMBER' --mail-rcpt recipient@example.com --mail-from sender@example.com --sasl-ir -T -
H A Dtest94535 …TPPORT/%TESTNUMBER' --mail-rcpt recipient@example.com --mail-from sender@example.com --sasl-ir -T -
H A Dtest92141 …-mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass --sasl-ir -T -

Completed in 33 milliseconds

12