dovecot-2.0: auth: Mention auth_username_chars in log when disal...

dovecot at dovecot.org dovecot at dovecot.org
Thu Mar 31 07:03:05 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/3eaf0d3a38d4
changeset: 12708:3eaf0d3a38d4
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Mar 31 07:02:55 2011 +0300
description:
auth: Mention auth_username_chars in log when disallowing username because of it.

diffstat:

 src/auth/auth-request.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 746b4e9e7015 -r 3eaf0d3a38d4 src/auth/auth-request.c
--- a/src/auth/auth-request.c	Sat Mar 26 01:10:59 2011 +0200
+++ b/src/auth/auth-request.c	Thu Mar 31 07:02:55 2011 +0300
@@ -897,7 +897,7 @@
 			*p = set->username_translation_map[*p & 0xff];
 		if (set->username_chars_map[*p & 0xff] == 0) {
 			*error_r = t_strdup_printf(
-				"Username contains disallowed character: "
+				"Username character disallowed by auth_username_chars: "
 				"0x%02x (username: %s)", *p,
 				str_sanitize(username, 128));
 			return NULL;


More information about the dovecot-cvs mailing list