mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
s3: Fix bug 7843: Expand the local SAMs aliases
This commit is contained in:
parent
b73e4e36f5
commit
cb496c6d24
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user