Changeset 596 for trunk/server/source3/winbindd/winbindd_rpc.c
- Timestamp:
- Jul 2, 2011, 3:35:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/winbindd/winbindd_rpc.c
r414 r596 85 85 &returned_size, 86 86 &disp_info); 87 88 if (!NT_STATUS_IS_OK(result)) { 89 if (!NT_STATUS_EQUAL(result, STATUS_MORE_ENTRIES)) { 90 return result; 91 } 92 } 93 87 94 num_dom_users = disp_info.info1.count; 88 95 start_idx += disp_info.info1.count; … … 1231 1238 rpccli_set_timeout(cli, orig_timeout); 1232 1239 1240 if (NT_STATUS_V(status) == DCERPC_FAULT_ACCESS_DENIED || 1241 NT_STATUS_V(status) == DCERPC_FAULT_SEC_PKG_ERROR) { 1242 /* 1243 * This can happen if the schannel key is not 1244 * valid anymore, we need to invalidate the 1245 * all connections to the dc and reestablish 1246 * a netlogon connection first. 1247 */ 1248 invalidate_cm_connection(&domain->conn); 1249 status = NT_STATUS_ACCESS_DENIED; 1250 } 1251 1233 1252 if (!NT_STATUS_IS_OK(status)) { 1234 1253 return status; … … 1297 1316 /* And restore our original timeout. */ 1298 1317 rpccli_set_timeout(cli, orig_timeout); 1318 1319 if (NT_STATUS_V(status) == DCERPC_FAULT_ACCESS_DENIED || 1320 NT_STATUS_V(status) == DCERPC_FAULT_SEC_PKG_ERROR) { 1321 /* 1322 * This can happen if the schannel key is not 1323 * valid anymore, we need to invalidate the 1324 * all connections to the dc and reestablish 1325 * a netlogon connection first. 1326 */ 1327 invalidate_cm_connection(&domain->conn); 1328 status = NT_STATUS_ACCESS_DENIED; 1329 } 1299 1330 1300 1331 if (!NT_STATUS_IS_OK(status)) {
Note:
See TracChangeset
for help on using the changeset viewer.