diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | auth-pam.c | 8 |
2 files changed, 7 insertions, 4 deletions
@@ -7,6 +7,7 @@ | |||
7 | switch to license.template for code written by me (belated, I know...) | 7 | switch to license.template for code written by me (belated, I know...) |
8 | - (djm) Bug #698: Specify FILE: for KRB5CCNAME; patch from | 8 | - (djm) Bug #698: Specify FILE: for KRB5CCNAME; patch from |
9 | stadal@suse.cz and simon@sxw.org.uk | 9 | stadal@suse.cz and simon@sxw.org.uk |
10 | - (dtucker) [auth-pam.c] Tidy up PAM debugging. ok djm@ | ||
10 | 11 | ||
11 | 20040212 | 12 | 20040212 |
12 | - (tim) [Makefile.in regress/sftp-badcmds.sh regress/test-exec.sh] | 13 | - (tim) [Makefile.in regress/sftp-badcmds.sh regress/test-exec.sh] |
@@ -1862,4 +1863,4 @@ | |||
1862 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 1863 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
1863 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 1864 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
1864 | 1865 | ||
1865 | $Id: ChangeLog,v 1.3231 2004/02/17 09:33:52 djm Exp $ | 1866 | $Id: ChangeLog,v 1.3232 2004/02/17 09:46:59 dtucker Exp $ |
diff --git a/auth-pam.c b/auth-pam.c index 562fb01f2..0ab5554a3 100644 --- a/auth-pam.c +++ b/auth-pam.c | |||
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | /* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */ | 32 | /* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */ |
33 | #include "includes.h" | 33 | #include "includes.h" |
34 | RCSID("$Id: auth-pam.c,v 1.93 2004/02/10 02:23:29 dtucker Exp $"); | 34 | RCSID("$Id: auth-pam.c,v 1.94 2004/02/17 09:46:59 dtucker Exp $"); |
35 | 35 | ||
36 | #ifdef USE_PAM | 36 | #ifdef USE_PAM |
37 | #if defined(HAVE_SECURITY_PAM_APPL_H) | 37 | #if defined(HAVE_SECURITY_PAM_APPL_H) |
@@ -242,7 +242,7 @@ sshpam_thread_conv(int n, const struct pam_message **msg, | |||
242 | struct pam_response *reply; | 242 | struct pam_response *reply; |
243 | int i; | 243 | int i; |
244 | 244 | ||
245 | debug3("PAM: %s entering, %d responses", __func__, n); | 245 | debug3("PAM: %s entering, %d messages", __func__, n); |
246 | *resp = NULL; | 246 | *resp = NULL; |
247 | 247 | ||
248 | ctxt = data; | 248 | ctxt = data; |
@@ -416,7 +416,7 @@ static int | |||
416 | sshpam_null_conv(int n, const struct pam_message **msg, | 416 | sshpam_null_conv(int n, const struct pam_message **msg, |
417 | struct pam_response **resp, void *data) | 417 | struct pam_response **resp, void *data) |
418 | { | 418 | { |
419 | debug3("PAM: %s entering, %d responses", __func__, n); | 419 | debug3("PAM: %s entering, %d messages", __func__, n); |
420 | return (PAM_CONV_ERR); | 420 | return (PAM_CONV_ERR); |
421 | } | 421 | } |
422 | 422 | ||
@@ -754,6 +754,8 @@ pam_tty_conv(int n, const struct pam_message **msg, | |||
754 | struct pam_response *reply; | 754 | struct pam_response *reply; |
755 | int i; | 755 | int i; |
756 | 756 | ||
757 | debug3("PAM: %s called with %d messages", __func__, n); | ||
758 | |||
757 | *resp = NULL; | 759 | *resp = NULL; |
758 | 760 | ||
759 | if (n <= 0 || n > PAM_MAX_NUM_MSG || !isatty(STDIN_FILENO)) | 761 | if (n <= 0 || n > PAM_MAX_NUM_MSG || !isatty(STDIN_FILENO)) |