diff options
author | David Greenman <dg@FreeBSD.org> | 1995-09-01 03:07:17 +0000 |
---|---|---|
committer | David Greenman <dg@FreeBSD.org> | 1995-09-01 03:07:17 +0000 |
commit | 2bae10d783bf6268b722671a4bec2dba080c6df3 (patch) | |
tree | 2e72cdad11d948ab62f0484110949f4a9a733f72 | |
parent | 6028599f9d1ceb35e06e305753368cd71107a8c0 (diff) |
Notes
-rw-r--r-- | libexec/ftpd/ftpd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 8776124171c55..47fbc2ea65f31 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ftpd.c,v 1.10 1995/05/30 05:45:58 rgrimes Exp $ + * $Id: ftpd.c,v 1.10.4.1 1995/08/26 00:53:52 davidg Exp $ */ #ifndef lint @@ -579,6 +579,7 @@ pass(passwd) #endif /* The strcmp does not catch null passwords! */ if (pw == NULL || *pw->pw_passwd == '\0' || + (pw->pw_expire && time(NULL) >= pw->pw_expire) || strcmp(xpasswd, pw->pw_passwd)) { reply(530, "Login incorrect."); if (logging) |