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

dovecot at dovecot.org dovecot at dovecot.org
Sun Oct 26 16:30:54 EET 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/938700823522
changeset: 8344:938700823522
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 221eb8e4d08e -r 938700823522 src/imap-login/client-authenticate.c
--- a/src/imap-login/client-authenticate.c	Sun Oct 26 15:39:10 2008 +0200
+++ b/src/imap-login/client-authenticate.c	Sun Oct 26 15:52:07 2008 +0200
@@ -110,7 +110,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 221eb8e4d08e -r 938700823522 src/pop3-login/client-authenticate.c
--- a/src/pop3-login/client-authenticate.c	Sun Oct 26 15:39:10 2008 +0200
+++ 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