From b4fa65d0ad3852eb80826845473b99cccfdf20ed Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 1 Dec 2003 03:24:50 +0000 Subject: Ensure we use the same mid for the secondary trans requests, W2K3 does this. Jeremy. (This used to be commit 8adf0cd27a23b1bc6e0da08789a8b1e9eefb54a7) --- source3/libsmb/clitrans.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/libsmb/clitrans.c') 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; } -- cgit