summaryrefslogtreecommitdiffstats
path: root/source/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-12-01 03:24:50 +0000
committerJeremy Allison <jra@samba.org>2003-12-01 03:24:50 +0000
commit8adf0cd27a23b1bc6e0da08789a8b1e9eefb54a7 (patch)
treece17fbfed9936fb5331eab277084b0fc5baeb3fb /source/libsmb
parent0d82ac57a59276adb403f8e023578c2d6d5136e4 (diff)
downloadsamba-8adf0cd27a23b1bc6e0da08789a8b1e9eefb54a7.tar.gz
samba-8adf0cd27a23b1bc6e0da08789a8b1e9eefb54a7.tar.xz
samba-8adf0cd27a23b1bc6e0da08789a8b1e9eefb54a7.zip
Ensure we use the same mid for the secondary trans requests, W2K3
does this. Jeremy.
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/clitrans.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/libsmb/clitrans.c b/source/libsmb/clitrans.c
index 1602dcc6839..ae44ca1a779 100644
--- a/source/libsmb/clitrans.c
+++ b/source/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;
}