Ignore:
Timestamp:
May 13, 2014, 11:39:04 AM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update trunk to 3.6.23

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/rpc_client/cli_pipe.c

    r745 r862  
    236236        struct rpc_pipe_client *cli;
    237237        uint16_t frag_len;
     238
    238239        DATA_BLOB *pdu;
    239240};
     
    245246                                                 struct event_context *ev,
    246247                                                 struct rpc_pipe_client *cli,
     248
    247249                                                 DATA_BLOB *pdu)
    248250{
     
    260262        state->cli = cli;
    261263        state->frag_len = RPC_HEADER_LEN;
     264
    262265        state->pdu = pdu;
    263266
     
    282285
    283286        state->frag_len = dcerpc_get_frag_length(pdu);
     287
     288
     289
     290
     291
     292
     293
     294
     295
    284296
    285297        /*
     
    330342
    331343        state->frag_len = dcerpc_get_frag_length(state->pdu);
     344
     345
     346
     347
     348
     349
     350
     351
     352
    332353
    333354        if (!data_blob_realloc(NULL, state->pdu, state->frag_len)) {
     
    691712        struct rpc_pipe_client *cli;
    692713        uint8_t expected_pkt_type;
     714
    693715
    694716        DATA_BLOB incoming_frag;
     
    709731                                            struct rpc_pipe_client *cli,
    710732                                            DATA_BLOB *data, /* Outgoing PDU */
    711                                             uint8_t expected_pkt_type)
     733                                            uint8_t expected_pkt_type,
     734                                            uint32_t call_id)
    712735{
    713736        struct tevent_req *req, *subreq;
     
    723746        state->cli = cli;
    724747        state->expected_pkt_type = expected_pkt_type;
     748
    725749        state->incoming_frag = data_blob_null;
    726750        state->reply_pdu = data_blob_null;
     
    822846        /* Ensure we have enough data for a pdu. */
    823847        subreq = get_complete_frag_send(state, state->ev, state->cli,
     848
    824849                                        &state->incoming_frag);
    825850        if (tevent_req_nomem(subreq, req)) {
     
    941966
    942967        subreq = get_complete_frag_send(state, state->ev, state->cli,
     968
    943969                                        &state->incoming_frag);
    944970        if (tevent_req_nomem(subreq, req)) {
     
    12931319                subreq = rpc_api_pipe_send(state, ev, state->cli,
    12941320                                           &state->rpc_out,
    1295                                            DCERPC_PKT_RESPONSE);
     1321                                           DCERPC_PKT_RESPONSE,
     1322                                           state->call_id);
    12961323                if (subreq == NULL) {
    12971324                        goto fail;
     
    14291456                subreq = rpc_api_pipe_send(state, state->ev, state->cli,
    14301457                                           &state->rpc_out,
    1431                                            DCERPC_PKT_RESPONSE);
     1458                                           DCERPC_PKT_RESPONSE,
     1459                                           state->call_id);
    14321460                if (tevent_req_nomem(subreq, req)) {
    14331461                        return;
     
    16681696
    16691697        subreq = rpc_api_pipe_send(state, ev, cli, &state->rpc_out,
    1670                                    DCERPC_PKT_BIND_ACK);
     1698                                   DCERPC_PKT_BIND_ACK);
    16711699        if (subreq == NULL) {
    16721700                goto fail;
     
    18661894
    18671895        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);
    18691898        if (subreq == NULL) {
    18701899                return NT_STATUS_NO_MEMORY;
     
    18981927
    18991928        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);
    19011931        if (subreq == NULL) {
    19021932                return NT_STATUS_NO_MEMORY;
     
    24512481        result->max_recv_frag = RPC_MAX_PDU_FRAG_LEN;
    24522482
    2453         if (!resolve_name(host, &addr, 0, false)) {
     2483        if (!resolve_name(host, &addr, , false)) {
    24542484                status = NT_STATUS_NOT_FOUND;
    24552485                goto fail;
Note: See TracChangeset for help on using the changeset viewer.