Changeset 740 for vendor/current/source3/winbindd/winbindd_ping_dc.c
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified vendor/current/source3/winbindd/winbindd_ping_dc.c ¶
r414 r740 20 20 #include "includes.h" 21 21 #include "winbindd.h" 22 #include "librpc/gen_ndr/ cli_wbint.h"22 #include "librpc/gen_ndr/ndr_wbint_c.h" 23 23 24 24 struct winbindd_ping_dc_state { … … 62 62 } 63 63 64 subreq = rpccli_wbint_PingDc_send(state, ev, domain->child.rpccli);64 subreq = dcerpc_wbint_PingDc_send(state, ev, dom_child_handle(domain)); 65 65 if (tevent_req_nomem(subreq, req)) { 66 66 return tevent_req_post(req, ev); … … 78 78 NTSTATUS status, result; 79 79 80 status = rpccli_wbint_PingDc_recv(subreq, state, &result);81 if ( !NT_STATUS_IS_OK(status)) {80 status = dcerpc_wbint_PingDc_recv(subreq, state, &result); 81 if (any_nt_status_not_ok(status, result, &status)) { 82 82 tevent_req_nterror(req, status); 83 return;84 }85 if (!NT_STATUS_IS_OK(result)) {86 tevent_req_nterror(req, result);87 83 return; 88 84 }
Note:
See TracChangeset
for help on using the changeset viewer.