bool auth_try_aborted:1;
bool auth_initializing:1;
bool auth_process_comm_fail:1;
+ bool auth_anonymous:1;
bool proxy_auth_failed:1;
bool proxy_nopipelining:1;
bool proxy_not_trusted:1;
strcmp(args[i], "proxy") == 0) {
/* user can't login */
nologin = TRUE;
+ } else if (strcmp(args[i], "anonymous") == 0 ) {
+ client->auth_anonymous = TRUE;
} else if (str_begins(args[i], "resp=") &&
login_binary->sasl_support_final_reply) {
client->sasl_final_resp =
client->auth_first_started = ioloop_time;
i_free(client->auth_mech_name);
client->auth_mech_name = str_ucase(i_strdup(mech_name));
+ client->auth_anonymous = FALSE;
client->sasl_callback = callback;
mech = auth_client_find_mech(auth_client, mech_name);