Changeset 745 for trunk/server/source3/winbindd/wb_dsgetdcname.c
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source3/winbindd/wb_dsgetdcname.c
r596 r745 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 wb_dsgetdcname_state { … … 65 65 } else { 66 66 struct winbindd_domain *domain = find_our_domain(); 67 child = &domain->child;67 child = choose_domain_child(domain); 68 68 } 69 69 … … 74 74 } 75 75 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, 78 78 flags, &state->dcinfo); 79 79 if (tevent_req_nomem(subreq, req)) { … … 92 92 NTSTATUS status, result; 93 93 94 status = rpccli_wbint_DsGetDcName_recv(subreq, state, &result);94 status = dcerpc_wbint_DsGetDcName_recv(subreq, state, &result); 95 95 TALLOC_FREE(subreq); 96 if ( !NT_STATUS_IS_OK(status)) {96 if (any_nt_status_not_ok(status, result, &status)) { 97 97 tevent_req_nterror(req, status); 98 return;99 }100 if (!NT_STATUS_IS_OK(result)) {101 tevent_req_nterror(req, result);102 98 return; 103 99 }
Note:
See TracChangeset
for help on using the changeset viewer.