Changeset 745 for trunk/server/source3/winbindd/wb_gettoken.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_gettoken.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 #include "../libcli/security/security.h" 24 #include "passdb/machine_sid.h" 23 25 24 26 struct wb_gettoken_state { … … 89 91 &state->sids); 90 92 TALLOC_FREE(subreq); 91 if (!NT_STATUS_IS_OK(status)) { 92 tevent_req_nterror(req, status); 93 if (tevent_req_nterror(req, status)) { 93 94 return; 94 95 } … … 134 135 status = wb_lookupuseraliases_recv(subreq, state, &num_rids, &rids); 135 136 TALLOC_FREE(subreq); 136 if (!NT_STATUS_IS_OK(status)) { 137 tevent_req_nterror(req, status); 137 if (tevent_req_nterror(req, status)) { 138 138 return; 139 139 } 140 140 domain = find_domain_from_sid_noinit(get_global_sam_sid()); 141 if (domain == NULL) { 142 tevent_req_nterror(req, NT_STATUS_INTERNAL_ERROR); 143 return; 144 } 141 145 if (!wb_add_rids_to_sids(state, &state->num_sids, &state->sids, 142 146 &domain->sid, num_rids, rids)) { … … 176 180 status = wb_lookupuseraliases_recv(subreq, state, &num_rids, &rids); 177 181 TALLOC_FREE(subreq); 178 if (!NT_STATUS_IS_OK(status)) { 179 tevent_req_nterror(req, status); 182 if (tevent_req_nterror(req, status)) { 180 183 return; 181 184 }
Note:
See TracChangeset
for help on using the changeset viewer.