Skip to content
Snippets Groups Projects
Commit 7f771cb4 authored by Stephan Bosch's avatar Stephan Bosch
Browse files

ManageSieve: removed TODO status of adding ANONYMOUS SASL support, since the...

ManageSieve: removed TODO status of adding ANONYMOUS SASL support, since the RFC specification no longer describes it.
parent 86eb5660
No related branches found
No related tags found
No related merge requests found
......@@ -279,9 +279,6 @@ ManageSieve
These clients are specifically written for Cyrus timsieved and fail on
multiple stages of the protocol when connected to Pigeonhole ManageSieve.
* The ANONYMOUS authentication mechanism is currently not supported and
explicitly denied.
Authors
=======
......
......@@ -51,7 +51,6 @@ Next (in order of descending priority/precedence):
are tested at least once.
* Fix ManageSieve proxy to recognize response codes from the backend and forward
them to the user if appropriate/safe.
* Implement proper support for ManageSieve SASL ANONYMOUS login.
* Test ManageSieve behavior thoroughly:
- Test pipelined behavior
- Test proxy authentication
......
......@@ -33,6 +33,7 @@ const char *client_authenticate_get_capabilities
mech = sasl_server_get_advertised_mechs(client, &count);
for (i = 0; i < count; i++) {
/* Filter ANONYMOUS mechanism, ManageSieve has no use-case for it */
if ( (mech[i].flags & MECH_SEC_ANONYMOUS) == 0 ) {
if ( !first )
str_append_c(str, ' ');
......@@ -215,13 +216,10 @@ int cmd_authenticate
if (*mech_name == '\0')
return -1;
/* FIXME: This refuses the ANONYMOUS mechanism.
* This can be removed once anonymous login is implemented according to the
* draft RFC. - Stephan
*/
/* Refuse the ANONYMOUS mechanism. */
if ( strncasecmp(mech_name, "ANONYMOUS", 9) == 0 ) {
client_send_no
(&msieve_client->common, "ANONYMOUS mechanism is not implemented.");
(&msieve_client->common, "ANONYMOUS login is not allowed.");
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.