diff options
author | Jeremy Allison <jra@samba.org> | 2006-06-07 04:45:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:17:19 -0500 |
commit | 5cd234a1fff1e9d025eea6600649e56c997eafc2 (patch) | |
tree | 5fff63255c0a2b6a14c0add47bbc599b66005d60 /source/passdb | |
parent | bc78cca290559c5ca7623b9f6d9933e32668b9c4 (diff) | |
download | samba-5cd234a1fff1e9d025eea6600649e56c997eafc2.tar.gz samba-5cd234a1fff1e9d025eea6600649e56c997eafc2.tar.xz samba-5cd234a1fff1e9d025eea6600649e56c997eafc2.zip |
r16076: Fix for machine password timeout overflow from Shlomi Yaakobovich
<Shlomi@exanet.com>.
Jeremy.
Diffstat (limited to 'source/passdb')
-rw-r--r-- | source/passdb/secrets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/passdb/secrets.c b/source/passdb/secrets.c index db560b632fd..ee7c441fcfc 100644 --- a/source/passdb/secrets.c +++ b/source/passdb/secrets.c @@ -310,7 +310,7 @@ BOOL secrets_fetch_trust_account_password(const char *domain, uint8 ret_pwd[16], /* Test if machine password has expired and needs to be changed */ if (lp_machine_password_timeout()) { if (pass->mod_time > 0 && time(NULL) > (pass->mod_time + - lp_machine_password_timeout())) { + (time_t)lp_machine_password_timeout())) { global_machine_password_needs_changing = True; } } |