Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
*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,