Changeset 620 for trunk/server/source3/winbindd/winbindd_lookuprids.c
- Timestamp:
- Aug 6, 2011, 6:50:53 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/winbindd/winbindd_lookuprids.c
r596 r620 24 24 struct winbindd_lookuprids_state { 25 25 struct tevent_context *ev; 26 struct dom_sid domain_sid; 26 27 const char *domain_name; 27 28 struct wbint_RidArray rids; … … 42 43 struct winbindd_lookuprids_state *state; 43 44 struct winbindd_domain *domain; 44 struct dom_sid sid;45 45 46 46 req = tevent_req_create(mem_ctx, &state, … … 56 56 DEBUG(3, ("lookuprids (%s)\n", request->data.sid)); 57 57 58 if (!string_to_sid(&s id, request->data.sid)) {58 if (!string_to_sid(&state->domain_sid, request->data.sid)) { 59 59 DEBUG(5, ("%s not a SID\n", request->data.sid)); 60 60 tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER); … … 62 62 } 63 63 64 domain = find_lookup_domain_from_sid(&s id);64 domain = find_lookup_domain_from_sid(&state->domain_sid); 65 65 if (domain == NULL) { 66 66 DEBUG(5, ("Domain for sid %s not found\n", 67 sid_string_dbg(&s id)));67 sid_string_dbg(&state->domain_sid))); 68 68 tevent_req_nterror(req, NT_STATUS_NO_SUCH_DOMAIN); 69 69 return tevent_req_post(req, ev); … … 84 84 85 85 subreq = rpccli_wbint_LookupRids_send( 86 state, ev, domain->child.rpccli, &state-> rids,87 &state-> domain_name, &state->names);86 state, ev, domain->child.rpccli, &state->domain_sid, 87 &state->rids, &state->domain_name, &state->names); 88 88 if (tevent_req_nomem(subreq, req)) { 89 89 return tevent_req_post(req, ev);
Note:
See TracChangeset
for help on using the changeset viewer.