mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Fix bug #8521 - winbindd cache timeout expiry test was reversed
Found and fix reported by Micha Lenk <micha@lenk.info>. Thanks !
This commit is contained in:
parent
995d156726
commit
1e4761d059
@ -4807,7 +4807,7 @@ bool wcache_fetch_ndr(TALLOC_CTX *mem_ctx, struct winbindd_domain *domain,
|
||||
goto fail;
|
||||
}
|
||||
entry_timeout = BVAL(data.dptr, 4);
|
||||
if (entry_timeout > time(NULL)) {
|
||||
if (time(NULL) > entry_timeout) {
|
||||
DEBUG(10, ("Entry has timed out\n"));
|
||||
goto fail;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user