git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b73e4e3
)
s3: Fix bug 7843: Expand the local SAMs aliases
author
Jeremy Allison
<jra@samba.org>
Sun, 5 Dec 2010 19:40:21 +0000
(20:40 +0100)
committer
Jeremy Allison
<jra@samba.org>
Mon, 6 Dec 2010 19:33:05 +0000
(20:33 +0100)
source3/winbindd/wb_gettoken.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/wb_gettoken.c
b/source3/winbindd/wb_gettoken.c
index 5755ffa07735915e8061591fd5aecff87f73388c..d1c8285b894f92c8436952ee08c768bc1cb03962 100644
(file)
--- 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
*/
/*
* 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;
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;
}
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);
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);