Changeset 745 for trunk/server/source3/winbindd/wb_uid2sid.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_uid2sid.c
r414 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 #include "idmap_cache.h" 24 #include "idmap.h" 25 #include "../libcli/security/security.h" 23 26 24 27 struct wb_uid2sid_state { … … 75 78 child = idmap_child(); 76 79 77 subreq = rpccli_wbint_Uid2Sid_send(78 state, ev, child-> rpccli, state->dom_name,80 subreq = dcerpc_wbint_Uid2Sid_send( 81 state, ev, child->binding_handle, state->dom_name, 79 82 uid, &state->sid); 80 83 if (tevent_req_nomem(subreq, req)) { … … 93 96 NTSTATUS status, result; 94 97 95 status = rpccli_wbint_Uid2Sid_recv(subreq, state, &result);98 status = dcerpc_wbint_Uid2Sid_recv(subreq, state, &result); 96 99 TALLOC_FREE(subreq); 97 if ( !NT_STATUS_IS_OK(status)) {100 if (any_nt_status_not_ok(status, result, &status)) { 98 101 tevent_req_nterror(req, status); 99 return;100 }101 if (!NT_STATUS_IS_OK(result)) {102 tevent_req_nterror(req, result);103 102 return; 104 103 }
Note:
See TracChangeset
for help on using the changeset viewer.