diff options
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/wb_gettoken.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/wb_gettoken.c b/source3/winbindd/wb_gettoken.c index 5755ffa077..d1c8285b89 100644 --- a/source3/winbindd/wb_gettoken.c +++ b/source3/winbindd/wb_gettoken.c @@ -107,7 +107,7 @@ static void wb_gettoken_gotgroups(struct tevent_req *subreq) /* * Expand our domain's aliases */ - domain = find_our_domain(); + domain = find_domain_from_sid_noinit(get_global_sam_sid()); if (domain == NULL) { tevent_req_nterror(req, NT_STATUS_INTERNAL_ERROR); return; @@ -138,7 +138,7 @@ static void wb_gettoken_gotlocalgroups(struct tevent_req *subreq) tevent_req_nterror(req, status); return; } - domain = find_our_domain(); + domain = find_domain_from_sid_noinit(get_global_sam_sid()); if (!wb_add_rids_to_sids(state, &state->num_sids, &state->sids, &domain->sid, num_rids, rids)) { tevent_req_nterror(req, NT_STATUS_NO_MEMORY); |