Ignore:
Timestamp:
May 24, 2009, 7:51:24 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 branch to 3.3.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/libsmb/clitrans.c

    r206 r223  
    113113                        this_ldata = MIN(ldata-tot_data,cli->max_xmit - (500+this_lparam));
    114114
    115                         client_set_trans_sign_state_off(cli, mid);
    116                         client_set_trans_sign_state_on(cli, mid);
    117 
    118115                        cli_set_message(cli->outbuf,trans==SMBtrans?8:9,0,True);
    119116                        SCVAL(cli->outbuf,smb_com,(trans==SMBtrans ? SMBtranss : SMBtranss2));
     
    139136                        cli_setup_bcc(cli, outdata+this_ldata);
    140137
    141                         /*
    142                          * Save the mid we're using. We need this for finding
    143                          * signing replies.
    144                          */
    145                         mid = cli->mid;
    146 
    147138                        show_msg(cli->outbuf);
     139
     140                        client_set_trans_sign_state_off(cli, mid);
     141                        cli->mid = mid;
    148142                        if (!cli_send_smb(cli)) {
    149                                 client_set_trans_sign_state_off(cli, mid);
    150143                                return False;
    151144                        }
    152 
    153                         /* Ensure we use the same mid for the secondaries. */
    154                         cli->mid = mid;
     145                        client_set_trans_sign_state_on(cli, mid);
    155146
    156147                        tot_data += this_ldata;
     
    462453                        cli_setup_bcc(cli, outdata+this_ldata);
    463454
    464                         /*
    465                          * Save the mid we're using. We need this for finding
    466                          * signing replies.
    467                          */
    468                         mid = cli->mid;
    469 
    470455                        show_msg(cli->outbuf);
    471456
     457                        client_set_trans_sign_state_off(cli, mid);
     458                        cli->mid = mid;
    472459                        if (!cli_send_smb(cli)) {
    473                                 client_set_trans_sign_state_off(cli, mid);
    474460                                return False;
    475461                        }
    476 
    477                         /* Ensure we use the same mid for the secondaries. */
    478                         cli->mid = mid;
     462                        client_set_trans_sign_state_on(cli, mid);
    479463
    480464                        tot_data += this_ldata;
Note: See TracChangeset for help on using the changeset viewer.