diff options
author | Jeremy Allison <jra@samba.org> | 2003-12-01 03:24:50 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-12-01 03:24:50 +0000 |
commit | b4fa65d0ad3852eb80826845473b99cccfdf20ed (patch) | |
tree | d3cc98958d86b50d888a3fd5dfefdb4bd6a3caa5 /source3/libsmb | |
parent | 6bb8f54e018db066d93f960ec0f257a77671b593 (diff) | |
download | samba-b4fa65d0ad3852eb80826845473b99cccfdf20ed.tar.gz samba-b4fa65d0ad3852eb80826845473b99cccfdf20ed.tar.bz2 samba-b4fa65d0ad3852eb80826845473b99cccfdf20ed.zip |
Ensure we use the same mid for the secondary trans requests, W2K3
does this.
Jeremy.
(This used to be commit 8adf0cd27a23b1bc6e0da08789a8b1e9eefb54a7)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clitrans.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/libsmb/clitrans.c b/source3/libsmb/clitrans.c index 1602dcc683..ae44ca1a77 100644 --- a/source3/libsmb/clitrans.c +++ b/source3/libsmb/clitrans.c @@ -143,6 +143,9 @@ BOOL cli_send_trans(struct cli_state *cli, int trans, if (!cli_send_smb(cli)) { return False; } + + /* Ensure we use the same mid for the secondaries. */ + cli->mid = mid; tot_data += this_ldata; tot_param += this_lparam; @@ -446,6 +449,9 @@ BOOL cli_send_nt_trans(struct cli_state *cli, return False; } + /* Ensure we use the same mid for the secondaries. */ + cli->mid = mid; + tot_data += this_ldata; tot_param += this_lparam; } |