[dovecot-cvs] dovecot/src/auth auth-request.c,1.58.2.7,1.58.2.8
cras at dovecot.org
cras at dovecot.org
Wed Aug 16 23:48:36 EEST 2006
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv28645
Modified Files:
Tag: branch_1_0
auth-request.c
Log Message:
Non-plaintext auth: If auth_debug_passwords=yes, show looked up credentials.
Index: auth-request.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request.c,v
retrieving revision 1.58.2.7
retrieving revision 1.58.2.8
diff -u -d -r1.58.2.7 -r1.58.2.8
--- auth-request.c 3 Aug 2006 16:21:56 -0000 1.58.2.7
+++ auth-request.c 16 Aug 2006 20:48:33 -0000 1.58.2.8
@@ -468,6 +468,11 @@
auth_request_lookup_credentials(request, request->credentials,
request->private_callback.lookup_credentials);
} else {
+ if (request->auth->verbose_debug_passwords &&
+ result == PASSDB_RESULT_OK) {
+ auth_request_log_debug(request, "password",
+ "Credentials: %s", password);
+ }
request->private_callback.
lookup_credentials(result, password, request);
}
More information about the dovecot-cvs
mailing list