]> andersk Git - openssh.git/blobdiff - auth-passwd.c
- (dtucker) [LICENCE Makefile.in auth-passwd.c auth-shadow.c auth.c auth.h
[openssh.git] / auth-passwd.c
index a58dc042b666f804410689b60a84f795da34673c..e434a21e3812682745e78b3436736d3c8faf6fe3 100644 (file)
@@ -97,6 +97,13 @@ auth_password(Authctxt *authctxt, const char *password)
                return ok;
        }
 #endif
+#ifdef USE_SHADOW
+       if (auth_shadow_pwexpired(authctxt)) {
+               disable_forwarding();
+               authctxt->force_pwchange = 1;
+       }
+#endif
+               
        return (sys_auth_passwd(authctxt, password) && ok);
 }
 
This page took 0.413984 seconds and 4 git commands to generate.