diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | auth-passwd.c | 2 | ||||
-rw-r--r-- | auth-shadow.c | 6 |
3 files changed, 10 insertions, 6 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20040211 | ||
2 | - (dtucker) [auth-passwd.c auth-shadow.c] Only enable shadow expiry check | ||
3 | if HAS_SHADOW_EXPIRY is set. | ||
4 | |||
1 | 20040210 | 5 | 20040210 |
2 | - (dtucker) [auth-passwd.c auth.h openbsd-compat/port-aix.c | 6 | - (dtucker) [auth-passwd.c auth.h openbsd-compat/port-aix.c |
3 | openbsd-compat/port-aix.h] Bug #14: Use do_pwchange to support AIX's | 7 | openbsd-compat/port-aix.h] Bug #14: Use do_pwchange to support AIX's |
@@ -16,7 +20,7 @@ | |||
16 | - (dtucker) [configure.ac loginrec.c] Bug #464: Use updwtmpx on platforms | 20 | - (dtucker) [configure.ac loginrec.c] Bug #464: Use updwtmpx on platforms |
17 | that support it. from & ok mouring@ | 21 | that support it. from & ok mouring@ |
18 | - (dtucker) [configure.ac] Bug #345: Do not disable utmp on HP-UX 10.x. | 22 | - (dtucker) [configure.ac] Bug #345: Do not disable utmp on HP-UX 10.x. |
19 | ok djm@ | 23 | ok djm@ |
20 | 24 | ||
21 | 20040207 | 25 | 20040207 |
22 | - (dtucker) OpenBSD CVS Sync | 26 | - (dtucker) OpenBSD CVS Sync |
@@ -1840,4 +1844,4 @@ | |||
1840 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 1844 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
1841 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 1845 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
1842 | 1846 | ||
1843 | $Id: ChangeLog,v 1.3224 2004/02/10 06:15:05 dtucker Exp $ | 1847 | $Id: ChangeLog,v 1.3225 2004/02/11 07:48:52 dtucker Exp $ |
diff --git a/auth-passwd.c b/auth-passwd.c index e434a21e3..28f29cc65 100644 --- a/auth-passwd.c +++ b/auth-passwd.c | |||
@@ -97,7 +97,7 @@ auth_password(Authctxt *authctxt, const char *password) | |||
97 | return ok; | 97 | return ok; |
98 | } | 98 | } |
99 | #endif | 99 | #endif |
100 | #ifdef USE_SHADOW | 100 | #if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE) |
101 | if (auth_shadow_pwexpired(authctxt)) { | 101 | if (auth_shadow_pwexpired(authctxt)) { |
102 | disable_forwarding(); | 102 | disable_forwarding(); |
103 | authctxt->force_pwchange = 1; | 103 | authctxt->force_pwchange = 1; |
diff --git a/auth-shadow.c b/auth-shadow.c index 8436eee5f..76c0d9f52 100644 --- a/auth-shadow.c +++ b/auth-shadow.c | |||
@@ -23,9 +23,9 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$Id: auth-shadow.c,v 1.2 2004/02/10 02:51:34 dtucker Exp $"); | 26 | RCSID("$Id: auth-shadow.c,v 1.3 2004/02/11 07:48:52 dtucker Exp $"); |
27 | 27 | ||
28 | #ifdef USE_SHADOW | 28 | #if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE) |
29 | #include <shadow.h> | 29 | #include <shadow.h> |
30 | 30 | ||
31 | #include "auth.h" | 31 | #include "auth.h" |
@@ -76,4 +76,4 @@ auth_shadow_pwexpired(Authctxt *ctxt) | |||
76 | 76 | ||
77 | return 0; | 77 | return 0; |
78 | } | 78 | } |
79 | #endif /* USE_SHADOW */ | 79 | #endif /* USE_SHADOW && HAS_SHADOW_EXPIRE */ |