summaryrefslogtreecommitdiff
path: root/auth-pam.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 222b358cc..10a87fa46 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -36,7 +36,7 @@
36 36
37extern char *__progname; 37extern char *__progname;
38 38
39RCSID("$Id: auth-pam.c,v 1.44 2002/04/23 10:28:49 djm Exp $"); 39RCSID("$Id: auth-pam.c,v 1.45 2002/04/26 01:27:24 djm Exp $");
40 40
41#define NEW_AUTHTOK_MSG \ 41#define NEW_AUTHTOK_MSG \
42 "Warning: Your password has expired, please change it now" 42 "Warning: Your password has expired, please change it now"
@@ -254,11 +254,13 @@ int do_pam_account(char *username, char *remote_user)
254 case PAM_SUCCESS: 254 case PAM_SUCCESS:
255 /* This is what we want */ 255 /* This is what we want */
256 break; 256 break;
257#if 0
257 case PAM_NEW_AUTHTOK_REQD: 258 case PAM_NEW_AUTHTOK_REQD:
258 message_cat(&__pam_msg, NEW_AUTHTOK_MSG); 259 message_cat(&__pam_msg, NEW_AUTHTOK_MSG);
259 /* flag that password change is necessary */ 260 /* flag that password change is necessary */
260 password_change_required = 1; 261 password_change_required = 1;
261 break; 262 break;
263#endif
262 default: 264 default:
263 log("PAM rejected by account configuration[%d]: " 265 log("PAM rejected by account configuration[%d]: "
264 "%.200s", pam_retval, PAM_STRERROR(__pamh, 266 "%.200s", pam_retval, PAM_STRERROR(__pamh,