From: TJ S. <cas...@us...> - 2012-08-16 01:25:12
|
Update of /cvsroot/proftp/proftpd/contrib In directory vz-cvs-3.sog:/tmp/cvs-serv5677/contrib Modified Files: Tag: B1_3_4 mod_sftp_pam.c Log Message: If the PAM conversation in mod_sftp_pam fails, log it to the SFTPLog rather than to the TraceLog. (Maybe this should be logged to the normal debug logging as well?) Index: mod_sftp_pam.c =================================================================== RCS file: /cvsroot/proftp/proftpd/contrib/mod_sftp_pam.c,v retrieving revision 1.10.2.1 retrieving revision 1.10.2.2 diff -u -d -r1.10.2.1 -r1.10.2.2 --- mod_sftp_pam.c 15 Aug 2012 22:05:35 -0000 1.10.2.1 +++ mod_sftp_pam.c 16 Aug 2012 01:25:10 -0000 1.10.2.2 @@ -403,7 +403,7 @@ sftppam_auth_code = PR_AUTH_BADPWD; } - pr_trace_msg(trace_channel, 1, + (void) pr_log_writefile(sftp_logfd, MOD_SFTP_PAM_VERSION, "PAM authentication error (%d) for user '%s': %s", res, user, pam_strerror(sftppam_pamh, res)); |