dovecot-1.1: Login prcesses: If auth_debug=yes, don't warn about...

dovecot at dovecot.org dovecot at dovecot.org
Sun Oct 26 15:53:16 EET 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/e0978b8fcd38
changeset: 7971:e0978b8fcd38
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Oct 26 15:52:07 2008 +0200
description:
Login prcesses: If auth_debug=yes, don't warn about "user" parameter being unknown.

diffstat:

2 files changed, 6 insertions(+), 2 deletions(-)
src/imap-login/client-authenticate.c |    4 +++-
src/pop3-login/client-authenticate.c |    4 +++-

diffs (28 lines):

diff -r a66833913957 -r e0978b8fcd38 src/imap-login/client-authenticate.c
--- a/src/imap-login/client-authenticate.c	Sat Oct 25 16:06:34 2008 +0300
+++ b/src/imap-login/client-authenticate.c	Sun Oct 26 15:52:07 2008 +0200
@@ -109,7 +109,9 @@ static bool client_handle_args(struct im
 			destuser = *args + 9;
 		else if (strncmp(*args, "pass=", 5) == 0)
 			pass = *args + 5;
-		else if (auth_debug) {
+		else if (strncmp(*args, "user=", 5) == 0) {
+			/* already handled in login-common */
+		} else if (auth_debug) {
 			i_info("Ignoring unknown passdb extra field: %s",
 			       *args);
 		}
diff -r a66833913957 -r e0978b8fcd38 src/pop3-login/client-authenticate.c
--- a/src/pop3-login/client-authenticate.c	Sat Oct 25 16:06:34 2008 +0300
+++ b/src/pop3-login/client-authenticate.c	Sun Oct 26 15:52:07 2008 +0200
@@ -107,7 +107,9 @@ static bool client_handle_args(struct po
 			destuser = *args + 9;
 		else if (strncmp(*args, "pass=", 5) == 0)
 			pass = *args + 5;
-		else if (auth_debug) {
+		else if (strncmp(*args, "user=", 5) == 0) {
+			/* already handled in login-common */
+		} else if (auth_debug) {
 			i_info("Ignoring unknown passdb extra field: %s",
 			       *args);
 		}


More information about the dovecot-cvs mailing list