The branch, v4-8-test has been updated via 59901b7 winbindd_cache: Fix timeout calculation for sid<->name cache from 066d0ee vfs_fruit: move check in ad_convert() to ad_convert_*() subfunctions
https://git.samba.org/?p=samba.git;a=shortlog;h=v4-8-test - Log ----------------------------------------------------------------- commit 59901b7b51cb2b553526ad1c11fea48f7e36b599 Author: Volker Lendecke <v...@samba.org> Date: Sat Oct 13 11:39:03 2018 +0200 winbindd_cache: Fix timeout calculation for sid<->name cache Bug: https://bugzilla.samba.org/show_bug.cgi?id=13662 Signed-off-by: Volker Lendecke <v...@samba.org> Reviewed-by: Jeremy Allison <j...@samba.org> (cherry picked from commit fb573c682353daf5b343b6a0f4832dcbc96ebc57) Autobuild-User(v4-8-test): Karolin Seeger <ksee...@samba.org> Autobuild-Date(v4-8-test): Wed Oct 24 15:23:48 CEST 2018 on sn-devel-144 ----------------------------------------------------------------------- Summary of changes: source3/winbindd/winbindd_cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index 2778e27..35bd892 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -1749,7 +1749,7 @@ static void wcache_name_to_sid_fn(const struct dom_sid *sid, *state->sid = *sid; *state->type = type; - state->found = (state->offline || (timeout < time(NULL))); + state->found = (state->offline || (timeout > time(NULL))); } static NTSTATUS wcache_name_to_sid(struct winbindd_domain *domain, @@ -1884,7 +1884,7 @@ static void wcache_sid_to_name_fn(const char *domain, const char *name, return; } *state->type = type; - state->found = (state->offline || (timeout < time(NULL))); + state->found = (state->offline || (timeout > time(NULL))); } static NTSTATUS wcache_sid_to_name(struct winbindd_domain *domain, -- Samba Shared Repository