client-common-auth.c revision 009217abb57a24a4076092e8e4e165545747839e
6781N/A/* Copyright (c) 2002-2015 Dovecot authors, see the included COPYING file */ /* If we've been waiting auth server to respond for over this many milliseconds, send a "waiting" message. */ "delayed sending initial response (greeting)");
i_error(
"Auth service returned invalid " "port number: %s",
value);
else if (
strcmp(
key,
"proxy_nopipelining") == 0)
/* already handled in login-common */ i_debug(
"Ignoring unknown passdb extra field: %s",
key);
/* input stream got closed in client_send_raw_data(). In most places we don't have to check for this explicitly, but login_proxy_detach() attempts to get and use the istream's fd, which is now -1. */ /* remote username is different, log it */ /* remote username is different, log it */ /* call this last - it may destroy the client */ /* we're just freeing the proxy */ /* we came here from client_destroy() */ /* failed for some reason, probably server disconnected */ "proxy: Remote %s:%u disconnected: %s " "(state=%u, duration=%us)%s",
" - BUG: line not read: %s",
line)));
"proxy: Unsupported SASL mechanism %s",
/* have to use PLAIN authentication with master user logins */ /* connection_queue_add() decided that we were the oldest connection and killed us. */ /* select the next source IP with round robin. */ /* disable input until authentication is finished */ /* we want to proxy the connection to another server. don't do this unless authentication succeeded. with master user proxying we can get FAIL with proxy still set. proxy host=.. [port=..] [destuser=..] pass=.. */ reason =
"Try this server instead.";
reason =
"Logged in, but you should use this server instead.";
/* Authentication went ok, but for some reason user isn't allowed to log in. Shouldn't probably happen. */ const unsigned char *
data;
/* see if we have a full line */ for (i = 0; i <
size; i++) {
const char *
data,
const char *
const *
args)
NULL,
"Authentication aborted by client.");
/* authentication itself succeeded, we just hit some /* the fd may still be hanging somewhere in kernel or another process. make sure the client gets disconnected. */ "SSL required for authentication");
"Authentication not allowed until SSL/TLS is enabled.");
/* don't handle input until we get the initial auth reply */ "Plaintext authentication disabled");
"Plaintext authentication not allowed " "without SSL/TLS, but your client did it anyway. " "If anyone was listening, the password was exposed.");