diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-05-30 20:43:59 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-05-30 20:43:59 +1000 |
commit | 450a158d7ef01e44723802e28a65348375718a2c (patch) | |
tree | bff93c7aa376f8727e6453cee48bbbb265c1c251 /auth-passwd.c | |
parent | 0ffe638bbbea203848e141e624960f0c40c1d51b (diff) |
- (dtucker) [auth-pam.c auth-pam.h auth-passwd.c]: Bug #874: Re-add PAM
support for PasswordAuthentication=yes. ok djm@
Diffstat (limited to 'auth-passwd.c')
-rw-r--r-- | auth-passwd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/auth-passwd.c b/auth-passwd.c index beaf0fa6..da247df7 100644 --- a/auth-passwd.c +++ b/auth-passwd.c @@ -91,6 +91,10 @@ auth_password(Authctxt *authctxt, const char *password) return ok; } #endif +#ifdef USE_PAM + if (options.use_pam) + return (sshpam_auth_passwd(authctxt, password) && ok); +#endif #if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE) if (!expire_checked) { expire_checked = 1; |