Loading docs/cmdline-opts/Makefile.inc +1 −0 Original line number Diff line number Diff line Loading @@ -154,6 +154,7 @@ DPAGES = \ retry-delay.d \ retry-max-time.d \ retry.d \ sasl-authzid.d \ sasl-ir.d \ service-name.d \ show-error.d \ Loading docs/cmdline-opts/sasl-authzid.d 0 → 100644 +11 −0 Original line number Diff line number Diff line Long: sasl-authzid Help: Use this identity to act as during SASL PLAIN authentication Added: 7.66.0 --- Use this authorisation identity (authzid), during SASL PLAIN authentication, in addition to the authentication identity (authcid) as specified by --user. If the option isn't specified, the server will derive the authzid from the authcid, but if specified, and depending on the server implementation, it may be used to access another user's inbox, that the user has been granted access to, or a shared mailbox for example. src/tool_cfgable.c +1 −0 Original line number Diff line number Diff line Loading @@ -133,6 +133,7 @@ static void free_config_fields(struct OperationConfig *config) Curl_safefree(config->krblevel); Curl_safefree(config->oauth_bearer); Curl_safefree(config->sasl_authzid); Curl_safefree(config->unix_socket_path); Curl_safefree(config->writeout); Loading src/tool_cfgable.h +1 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,7 @@ struct OperationConfig { char *mail_from; struct curl_slist *mail_rcpt; char *mail_auth; char *sasl_authzid; /* Authorisation identity (identity to use) */ bool sasl_ir; /* Enable/disable SASL initial response */ bool proxytunnel; bool ftp_append; /* APPE on ftp */ Loading src/tool_getparam.c +5 −1 Original line number Diff line number Diff line Loading @@ -177,6 +177,7 @@ static const struct LongShort aliases[]= { {"$H", "mail-auth", ARG_STRING}, {"$I", "post303", ARG_BOOL}, {"$J", "metalink", ARG_BOOL}, {"$6", "sasl-authzid", ARG_STRING}, {"$K", "sasl-ir", ARG_BOOL }, {"$L", "test-event", ARG_BOOL}, {"$M", "unix-socket", ARG_FILENAME}, Loading Loading @@ -1099,6 +1100,9 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */ #endif break; } case '6': /* --sasl-authzid */ GetStr(&config->sasl_authzid, nextarg); break; case 'K': /* --sasl-ir */ config->sasl_ir = toggle; break; Loading Loading
docs/cmdline-opts/Makefile.inc +1 −0 Original line number Diff line number Diff line Loading @@ -154,6 +154,7 @@ DPAGES = \ retry-delay.d \ retry-max-time.d \ retry.d \ sasl-authzid.d \ sasl-ir.d \ service-name.d \ show-error.d \ Loading
docs/cmdline-opts/sasl-authzid.d 0 → 100644 +11 −0 Original line number Diff line number Diff line Long: sasl-authzid Help: Use this identity to act as during SASL PLAIN authentication Added: 7.66.0 --- Use this authorisation identity (authzid), during SASL PLAIN authentication, in addition to the authentication identity (authcid) as specified by --user. If the option isn't specified, the server will derive the authzid from the authcid, but if specified, and depending on the server implementation, it may be used to access another user's inbox, that the user has been granted access to, or a shared mailbox for example.
src/tool_cfgable.c +1 −0 Original line number Diff line number Diff line Loading @@ -133,6 +133,7 @@ static void free_config_fields(struct OperationConfig *config) Curl_safefree(config->krblevel); Curl_safefree(config->oauth_bearer); Curl_safefree(config->sasl_authzid); Curl_safefree(config->unix_socket_path); Curl_safefree(config->writeout); Loading
src/tool_cfgable.h +1 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,7 @@ struct OperationConfig { char *mail_from; struct curl_slist *mail_rcpt; char *mail_auth; char *sasl_authzid; /* Authorisation identity (identity to use) */ bool sasl_ir; /* Enable/disable SASL initial response */ bool proxytunnel; bool ftp_append; /* APPE on ftp */ Loading
src/tool_getparam.c +5 −1 Original line number Diff line number Diff line Loading @@ -177,6 +177,7 @@ static const struct LongShort aliases[]= { {"$H", "mail-auth", ARG_STRING}, {"$I", "post303", ARG_BOOL}, {"$J", "metalink", ARG_BOOL}, {"$6", "sasl-authzid", ARG_STRING}, {"$K", "sasl-ir", ARG_BOOL }, {"$L", "test-event", ARG_BOOL}, {"$M", "unix-socket", ARG_FILENAME}, Loading Loading @@ -1099,6 +1100,9 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */ #endif break; } case '6': /* --sasl-authzid */ GetStr(&config->sasl_authzid, nextarg); break; case 'K': /* --sasl-ir */ config->sasl_ir = toggle; break; Loading