summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-12-01 03:24:53 +0000
committerJeremy Allison <jra@samba.org>2003-12-01 03:24:53 +0000
commite5bb3fdf4c8b2bb5b098bfbc0b4b80d947aeac6c (patch)
tree49f5eb8e6ad908f8bd89bdf511983121e84da8a8 /source
parentdd1ac8d5eba060dcd7fdde7449d07bee1dc12b27 (diff)
downloadsamba-e5bb3fdf4c8b2bb5b098bfbc0b4b80d947aeac6c.tar.gz
samba-e5bb3fdf4c8b2bb5b098bfbc0b4b80d947aeac6c.tar.xz
samba-e5bb3fdf4c8b2bb5b098bfbc0b4b80d947aeac6c.zip
Ensure we use the same mid for the secondary trans requests, W2K3
does this. Jeremy.
Diffstat (limited to 'source')
-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;
}