diff options
author | Kevin Steves <stevesk@pobox.com> | 2002-04-04 19:02:28 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2002-04-04 19:02:28 +0000 |
commit | e683e7643997118ac51b18c073a6aba410c0cc3c (patch) | |
tree | f2a98c2979198a89e00eb5cdd3d6fbf0fb986377 /auth-pam.c | |
parent | af40bc6a72013e9eec74ec99e21dab9342ac9880 (diff) |
- (stevesk) [auth-pam.c auth-pam.h auth-passwd.c auth-sia.c auth-sia.h
auth1.c auth2.c] PAM, OSF_SIA password auth cleanup; from djm.
Diffstat (limited to 'auth-pam.c')
-rw-r--r-- | auth-pam.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -28,6 +28,7 @@ #include "ssh.h" #include "xmalloc.h" #include "log.h" +#include "auth.h" #include "auth-pam.h" #include "servconf.h" #include "canohost.h" @@ -35,7 +36,7 @@ extern char *__progname; -RCSID("$Id: auth-pam.c,v 1.42 2002/02/05 01:40:47 djm Exp $"); +RCSID("$Id: auth-pam.c,v 1.43 2002/04/04 19:02:28 stevesk Exp $"); #define NEW_AUTHTOK_MSG \ "Warning: Your password has expired, please change it now" @@ -199,10 +200,11 @@ void do_pam_cleanup_proc(void *context) } /* Attempt password authentation using PAM */ -int auth_pam_password(struct passwd *pw, const char *password) +int auth_pam_password(Authctxt *authctxt, const char *password) { extern ServerOptions options; int pam_retval; + struct passwd *pw = authctxt->pw; do_pam_set_conv(&conv); |