Bug: https://bugzilla.samba.org/show_bug.cgi?id=13662
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit
fb573c682353daf5b343b6a0f4832dcbc96ebc57)
Autobuild-User(v4-9-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-9-test): Wed Oct 24 13:59:02 CEST 2018 on sn-devel-144
*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,
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,