]> andersk Git - openssh.git/blobdiff - auth-passwd.c
- (dtucker) [auth-pam.c auth-pam.h auth-passwd.c]: Bug #874: Re-add PAM
[openssh.git] / auth-passwd.c
index beaf0fa6cbf3ee71564fea04f6d81807831823fd..da247df7d0f377cea97966243785c9daa872b39d 100644 (file)
@@ -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;
This page took 0.038678 seconds and 4 git commands to generate.