sasl-server.c revision cf0ad1a0bddb0787f3d7b408a96d721a8b2a98a3
088cb24027234024aff2c1ce5b6870c5a308a44bTimo Sirainen/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
088cb24027234024aff2c1ce5b6870c5a308a44bTimo Sirainen "Maximum number of connections from user+IP exceeded " \
6303191abcb37164f435ccdc56e9dbddf1288851Timo Sirainen "(mail_max_userip_connections)"
088cb24027234024aff2c1ce5b6870c5a308a44bTimo Sirainensasl_server_get_advertised_mechs(struct client *client, unsigned int *count_r)
unsigned int i, j, count;
if (count == 0) {
*count_r = 0;
return NULL;
for (i = j = 0; i < count; i++) {
*count_r = j;
return ret_mech;
static enum auth_request_flags
return auth_flags;
case MASTER_AUTH_STATUS_OK:
const unsigned char *data;
const char *cookie;
return FALSE;
return FALSE;
return FALSE;
if (ret < 0)
else if (ret == 0)
bool nologin;
switch (status) {
case AUTH_REQUEST_STATUS_OK:
if (nologin) {
case AUTH_REQUEST_STATUS_FAIL:
const char *initial_resp_base64,
const char *auth_name =