summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/winbindd/winbindd_sids_to_xids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_sids_to_xids.c b/source3/winbindd/winbindd_sids_to_xids.c
index 8201739a96..aa179b7db0 100644
--- a/source3/winbindd/winbindd_sids_to_xids.c
+++ b/source3/winbindd/winbindd_sids_to_xids.c
@@ -130,7 +130,7 @@ static bool winbindd_sids_to_xids_in_cache(struct dom_sid *sid,
return false;
}
if (idmap_cache_find_sid2unixid(sid, &id, &expired)) {
- if (expired && is_domain_offline(find_our_domain())) {
+ if (expired && is_domain_online(find_our_domain())) {
return false;
}
map->sid = sid;