Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/winbindd/winbindd_lookuprids.c

    r620 r745  
    2020#include "includes.h"
    2121#include "winbindd.h"
    22 #include "librpc/gen_ndr/cli_wbint.h"
     22#include "librpc/gen_ndr/ndr_wbint_c.h"
     23#include "../libcli/security/security.h"
    2324
    2425struct winbindd_lookuprids_state {
     
    8384        }
    8485
    85         subreq = rpccli_wbint_LookupRids_send(
    86                 state, ev, domain->child.rpccli, &state->domain_sid,
     86        subreq = dcerpc_wbint_LookupRids_send(
     87                state, ev, dom_child_handle(domain), &state->domain_sid,
    8788                &state->rids, &state->domain_name, &state->names);
    8889        if (tevent_req_nomem(subreq, req)) {
     
    101102        NTSTATUS status, result;
    102103
    103         status = rpccli_wbint_LookupRids_recv(subreq, state, &result);
     104        status = dcerpc_wbint_LookupRids_recv(subreq, state, &result);
    104105        TALLOC_FREE(subreq);
    105         if (!NT_STATUS_IS_OK(status)) {
     106        if (any_nt_status_not_ok(status, result, &status)) {
    106107                tevent_req_nterror(req, status);
    107                 return;
    108         }
    109         if (!NT_STATUS_IS_OK(result)) {
    110                 tevent_req_nterror(req, result);
    111108                return;
    112109        }
Note: See TracChangeset for help on using the changeset viewer.