diff options
author | Matt Johnston <matt@ucc.asn.au> | 2011-02-23 15:50:30 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2011-02-23 15:50:30 +0000 |
commit | 38ed870ffeea569f6da1e615685147a84f231cf3 (patch) | |
tree | cc0c3378b7e231df6b44c881d10235c313478a60 /svr-authpam.c | |
parent | 1e4ed404c500c4bf01300a9efe7e2fb329dc3b02 (diff) |
Improve capitalisation for all logged strings
--HG--
extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
Diffstat (limited to 'svr-authpam.c')
-rw-r--r-- | svr-authpam.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/svr-authpam.c b/svr-authpam.c index a570d71..f230be7 100644 --- a/svr-authpam.c +++ b/svr-authpam.c @@ -101,7 +101,8 @@ pamConvFunc(int num_msg, if (!(strcmp(compare_message, "password:") == 0)) { /* We don't recognise the prompt as asking for a password, so can't handle it. Add more above as required for - different pam modules/implementations */ + different pam modules/implementations. If you need + to add an entry here please mail the Dropbear developer */ dropbear_log(LOG_NOTICE, "PAM unknown prompt '%s' (no echo)", compare_message); rc = PAM_CONV_ERR; @@ -130,7 +131,8 @@ pamConvFunc(int num_msg, )) { /* We don't recognise the prompt as asking for a username, so can't handle it. Add more above as required for - different pam modules/implementations */ + different pam modules/implementations. If you need + to add an entry here please mail the Dropbear developer */ dropbear_log(LOG_NOTICE, "PAM unknown prompt '%s' (with echo)", compare_message); rc = PAM_CONV_ERR; @@ -226,7 +228,7 @@ void svr_auth_pam() { dropbear_log(LOG_WARNING, "pam_authenticate() failed, rc=%d, %s\n", rc, pam_strerror(pamHandlep, rc)); dropbear_log(LOG_WARNING, - "bad PAM password attempt for '%s' from %s", + "Bad PAM password attempt for '%s' from %s", ses.authstate.pw_name, svr_ses.addrstring); send_msg_userauth_failure(0, 1); @@ -237,7 +239,7 @@ void svr_auth_pam() { dropbear_log(LOG_WARNING, "pam_acct_mgmt() failed, rc=%d, %s\n", rc, pam_strerror(pamHandlep, rc)); dropbear_log(LOG_WARNING, - "bad PAM password attempt for '%s' from %s", + "Bad PAM password attempt for '%s' from %s", ses.authstate.pw_name, svr_ses.addrstring); send_msg_userauth_failure(0, 1); |