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/wb_dsgetdcname.c

    r596 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"
    2323
    2424struct wb_dsgetdcname_state {
     
    6565        } else {
    6666                struct winbindd_domain *domain = find_our_domain();
    67                 child = &domain->child;
     67                child = choose_domain_child(domain);
    6868        }
    6969
     
    7474        }
    7575
    76         subreq = rpccli_wbint_DsGetDcName_send(
    77                 state, ev, child->rpccli, domain_name, guid_ptr, site_name,
     76        subreq = dcerpc_wbint_DsGetDcName_send(
     77                state, ev, child->binding_handle, domain_name, guid_ptr, site_name,
    7878                flags, &state->dcinfo);
    7979        if (tevent_req_nomem(subreq, req)) {
     
    9292        NTSTATUS status, result;
    9393
    94         status = rpccli_wbint_DsGetDcName_recv(subreq, state, &result);
     94        status = dcerpc_wbint_DsGetDcName_recv(subreq, state, &result);
    9595        TALLOC_FREE(subreq);
    96         if (!NT_STATUS_IS_OK(status)) {
     96        if (any_nt_status_not_ok(status, result, &status)) {
    9797                tevent_req_nterror(req, status);
    98                 return;
    99         }
    100         if (!NT_STATUS_IS_OK(result)) {
    101                 tevent_req_nterror(req, result);
    10298                return;
    10399        }
Note: See TracChangeset for help on using the changeset viewer.