Changeset 862 for trunk/server/source3/rpc_client/cli_pipe.c
- Timestamp:
- May 13, 2014, 11:39:04 AM (12 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
source3/rpc_client/cli_pipe.c (modified) (16 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 860
- Property svn:mergeinfo changed
-
trunk/server/source3/rpc_client/cli_pipe.c
r745 r862 236 236 struct rpc_pipe_client *cli; 237 237 uint16_t frag_len; 238 238 239 DATA_BLOB *pdu; 239 240 }; … … 245 246 struct event_context *ev, 246 247 struct rpc_pipe_client *cli, 248 247 249 DATA_BLOB *pdu) 248 250 { … … 260 262 state->cli = cli; 261 263 state->frag_len = RPC_HEADER_LEN; 264 262 265 state->pdu = pdu; 263 266 … … 282 285 283 286 state->frag_len = dcerpc_get_frag_length(pdu); 287 288 289 290 291 292 293 294 295 284 296 285 297 /* … … 330 342 331 343 state->frag_len = dcerpc_get_frag_length(state->pdu); 344 345 346 347 348 349 350 351 352 332 353 333 354 if (!data_blob_realloc(NULL, state->pdu, state->frag_len)) { … … 691 712 struct rpc_pipe_client *cli; 692 713 uint8_t expected_pkt_type; 714 693 715 694 716 DATA_BLOB incoming_frag; … … 709 731 struct rpc_pipe_client *cli, 710 732 DATA_BLOB *data, /* Outgoing PDU */ 711 uint8_t expected_pkt_type) 733 uint8_t expected_pkt_type, 734 uint32_t call_id) 712 735 { 713 736 struct tevent_req *req, *subreq; … … 723 746 state->cli = cli; 724 747 state->expected_pkt_type = expected_pkt_type; 748 725 749 state->incoming_frag = data_blob_null; 726 750 state->reply_pdu = data_blob_null; … … 822 846 /* Ensure we have enough data for a pdu. */ 823 847 subreq = get_complete_frag_send(state, state->ev, state->cli, 848 824 849 &state->incoming_frag); 825 850 if (tevent_req_nomem(subreq, req)) { … … 941 966 942 967 subreq = get_complete_frag_send(state, state->ev, state->cli, 968 943 969 &state->incoming_frag); 944 970 if (tevent_req_nomem(subreq, req)) { … … 1293 1319 subreq = rpc_api_pipe_send(state, ev, state->cli, 1294 1320 &state->rpc_out, 1295 DCERPC_PKT_RESPONSE); 1321 DCERPC_PKT_RESPONSE, 1322 state->call_id); 1296 1323 if (subreq == NULL) { 1297 1324 goto fail; … … 1429 1456 subreq = rpc_api_pipe_send(state, state->ev, state->cli, 1430 1457 &state->rpc_out, 1431 DCERPC_PKT_RESPONSE); 1458 DCERPC_PKT_RESPONSE, 1459 state->call_id); 1432 1460 if (tevent_req_nomem(subreq, req)) { 1433 1461 return; … … 1668 1696 1669 1697 subreq = rpc_api_pipe_send(state, ev, cli, &state->rpc_out, 1670 DCERPC_PKT_BIND_ACK );1698 DCERPC_PKT_BIND_ACK); 1671 1699 if (subreq == NULL) { 1672 1700 goto fail; … … 1866 1894 1867 1895 subreq = rpc_api_pipe_send(state, state->ev, state->cli, 1868 &state->rpc_out, DCERPC_PKT_ALTER_RESP); 1896 &state->rpc_out, DCERPC_PKT_ALTER_RESP, 1897 state->rpc_call_id); 1869 1898 if (subreq == NULL) { 1870 1899 return NT_STATUS_NO_MEMORY; … … 1898 1927 1899 1928 subreq = rpc_api_pipe_send(state, state->ev, state->cli, 1900 &state->rpc_out, DCERPC_PKT_AUTH3); 1929 &state->rpc_out, DCERPC_PKT_AUTH3, 1930 state->rpc_call_id); 1901 1931 if (subreq == NULL) { 1902 1932 return NT_STATUS_NO_MEMORY; … … 2451 2481 result->max_recv_frag = RPC_MAX_PDU_FRAG_LEN; 2452 2482 2453 if (!resolve_name(host, &addr, 0, false)) {2483 if (!resolve_name(host, &addr, , false)) { 2454 2484 status = NT_STATUS_NOT_FOUND; 2455 2485 goto fail;
Note:
See TracChangeset
for help on using the changeset viewer.
