[dovecot-cvs] dovecot/src/pop3-login client-authenticate.c, 1.33, 1.34

cras at dovecot.org cras at dovecot.org
Sun Oct 17 18:15:30 EEST 2004


Update of /var/lib/cvs/dovecot/src/pop3-login
In directory talvi:/tmp/cvs-serv14637/pop3-login

Modified Files:
	client-authenticate.c 
Log Message:
If login fails with internal failure, show it to client as -ERR [IN-USE]



Index: client-authenticate.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3-login/client-authenticate.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- client-authenticate.c	13 Oct 2004 16:38:36 -0000	1.33
+++ client-authenticate.c	17 Oct 2004 15:15:27 -0000	1.34
@@ -106,6 +106,9 @@
 				    client_input, client);
 		break;
 	case SASL_SERVER_REPLY_MASTER_FAILED:
+		client_send_line(client,
+				 "-ERR [IN-USE] Internal login failure. "
+				 "Refer to server log for more information.");
 		client_destroy(client, t_strconcat("Internal login failure: ",
 						   client->common.virtual_user,
 						   NULL));



More information about the dovecot-cvs mailing list