Ignore:
Timestamp:
Aug 6, 2011, 6:50:53 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update trunk to 3.5.11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/winbindd/winbindd_lookuprids.c

    r596 r620  
    2424struct winbindd_lookuprids_state {
    2525        struct tevent_context *ev;
     26        struct dom_sid domain_sid;
    2627        const char *domain_name;
    2728        struct wbint_RidArray rids;
     
    4243        struct winbindd_lookuprids_state *state;
    4344        struct winbindd_domain *domain;
    44         struct dom_sid sid;
    4545
    4646        req = tevent_req_create(mem_ctx, &state,
     
    5656        DEBUG(3, ("lookuprids (%s)\n", request->data.sid));
    5757
    58         if (!string_to_sid(&sid, request->data.sid)) {
     58        if (!string_to_sid(&state->domain_sid, request->data.sid)) {
    5959                DEBUG(5, ("%s not a SID\n", request->data.sid));
    6060                tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER);
     
    6262        }
    6363
    64         domain = find_lookup_domain_from_sid(&sid);
     64        domain = find_lookup_domain_from_sid(&state->domain_sid);
    6565        if (domain == NULL) {
    6666                DEBUG(5, ("Domain for sid %s not found\n",
    67                           sid_string_dbg(&sid)));
     67                          sid_string_dbg(&state->domain_sid)));
    6868                tevent_req_nterror(req, NT_STATUS_NO_SUCH_DOMAIN);
    6969                return tevent_req_post(req, ev);
     
    8484
    8585        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);
    8888        if (tevent_req_nomem(subreq, req)) {
    8989                return tevent_req_post(req, ev);
Note: See TracChangeset for help on using the changeset viewer.