diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | auth-pam.c | 6 |
2 files changed, 5 insertions, 4 deletions
@@ -2,6 +2,7 @@ | |||
2 | - (djm) Avoid bug in Solaris PAM libs | 2 | - (djm) Avoid bug in Solaris PAM libs |
3 | - (djm) Disconnect if no tty and PAM reports password expired | 3 | - (djm) Disconnect if no tty and PAM reports password expired |
4 | - (djm) Fix for PAM password changes being echoed (from stevesk) | 4 | - (djm) Fix for PAM password changes being echoed (from stevesk) |
5 | - (stevesk) Fix compile problem with PAM password change fix | ||
5 | 6 | ||
6 | 20011027 | 7 | 20011027 |
7 | - (tim) [configure.ac] Fixes for ReliantUNIX (don't use libucb) | 8 | - (tim) [configure.ac] Fixes for ReliantUNIX (don't use libucb) |
@@ -6779,4 +6780,4 @@ | |||
6779 | - Wrote replacements for strlcpy and mkdtemp | 6780 | - Wrote replacements for strlcpy and mkdtemp |
6780 | - Released 1.0pre1 | 6781 | - Released 1.0pre1 |
6781 | 6782 | ||
6782 | $Id: ChangeLog,v 1.1624 2001/10/28 11:36:55 djm Exp $ | 6783 | $Id: ChangeLog,v 1.1625 2001/10/28 17:32:38 stevesk Exp $ |
diff --git a/auth-pam.c b/auth-pam.c index 08ba132a4..29d356674 100644 --- a/auth-pam.c +++ b/auth-pam.c | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | extern char *__progname; | 36 | extern char *__progname; |
37 | 37 | ||
38 | RCSID("$Id: auth-pam.c,v 1.39 2001/10/28 11:36:56 djm Exp $"); | 38 | RCSID("$Id: auth-pam.c,v 1.40 2001/10/28 17:32:38 stevesk Exp $"); |
39 | 39 | ||
40 | #define NEW_AUTHTOK_MSG \ | 40 | #define NEW_AUTHTOK_MSG \ |
41 | "Warning: Your password has expired, please change it now" | 41 | "Warning: Your password has expired, please change it now" |
@@ -147,8 +147,8 @@ static int do_pam_conversation(int num_msg, const struct pam_message **msg, | |||
147 | break; | 147 | break; |
148 | case PAM_PROMPT_ECHO_OFF: | 148 | case PAM_PROMPT_ECHO_OFF: |
149 | reply[count].resp = | 149 | reply[count].resp = |
150 | read_passphrase(PAM_MSG_MEMBER(msg, count, | 150 | read_passphrase(PAM_MSG_MEMBER(msg, count, |
151 | msg), RP_ALLOW_STDIN)); | 151 | msg), RP_ALLOW_STDIN); |
152 | reply[count].resp_retcode = PAM_SUCCESS; | 152 | reply[count].resp_retcode = PAM_SUCCESS; |
153 | break; | 153 | break; |
154 | case PAM_ERROR_MSG: | 154 | case PAM_ERROR_MSG: |