commit | cee6d4cf5ac447aaba72972cc8ce835ca2378417 | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Wed Feb 11 18:48:52 2004 +1100 |
committer | Darren Tucker <dtucker@zip.com.au> | Wed Feb 11 18:48:52 2004 +1100 |
tree | 9113041af0d1f0ce6ae326abff5d43c4c04239e5 | |
parent | 13a707b60da56258d91170010d9fa1f75ef18eb0 [diff] [blame] |
- (dtucker) [auth-passwd.c auth-shadow.c] Only enable shadow expiry check if HAS_SHADOW_EXPIRY is set.
diff --git a/auth-passwd.c b/auth-passwd.c index e434a21..28f29cc 100644 --- a/auth-passwd.c +++ b/auth-passwd.c
@@ -97,7 +97,7 @@ return ok; } #endif -#ifdef USE_SHADOW +#if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE) if (auth_shadow_pwexpired(authctxt)) { disable_forwarding(); authctxt->force_pwchange = 1;