summaryrefslogtreecommitdiff
path: root/auth-passwd.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-05-30 20:43:59 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-05-30 20:43:59 +1000
commit450a158d7ef01e44723802e28a65348375718a2c (patch)
treebff93c7aa376f8727e6453cee48bbbb265c1c251 /auth-passwd.c
parent0ffe638bbbea203848e141e624960f0c40c1d51b (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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/auth-passwd.c b/auth-passwd.c
index beaf0fa6c..da247df7d 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -91,6 +91,10 @@ auth_password(Authctxt *authctxt, const char *password)
91 return ok; 91 return ok;
92 } 92 }
93#endif 93#endif
94#ifdef USE_PAM
95 if (options.use_pam)
96 return (sshpam_auth_passwd(authctxt, password) && ok);
97#endif
94#if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE) 98#if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE)
95 if (!expire_checked) { 99 if (!expire_checked) {
96 expire_checked = 1; 100 expire_checked = 1;