dovecot-1.2: auth_debug_passwords: When converting plaintext pas...
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/88a6a193e288
changeset: 8348:88a6a193e288
user: Timo Sirainen <tss at iki.fi>
date: Sun Oct 26 16:30:50 2008 +0200
description:
auth_debug_passwords: When converting plaintext password to another scheme, log how it's done.
diffstat:
1 file changed, 6 insertions(+)
src/auth/passdb.c | 6 ++++++
diffs (16 lines):
diff -r fc5683975951 -r 88a6a193e288 src/auth/passdb.c
--- a/src/auth/passdb.c Sun Oct 26 16:01:45 2008 +0200
+++ b/src/auth/passdb.c Sun Oct 26 16:30:50 2008 +0200
@@ -92,6 +92,12 @@ bool passdb_get_credentials(struct auth_
/* we can generate anything out of plaintext passwords */
plaintext = t_strndup(*credentials_r, *size_r);
+ if (auth_request->auth->verbose_debug_passwords) {
+ auth_request_log_info(auth_request, "password",
+ "Generating %s from user %s password %s",
+ wanted_scheme, auth_request->original_username,
+ plaintext);
+ }
if (!password_generate(plaintext,
auth_request->original_username,
wanted_scheme, credentials_r, size_r)) {
More information about the dovecot-cvs
mailing list