summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/async_smb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index 8fecd2dd76..801efe4dd9 100644
--- a/source3/libsmb/async_smb.c
+++ b/source3/libsmb/async_smb.c
@@ -1091,6 +1091,12 @@ NTSTATUS cli_smb_chain_send(struct tevent_req **reqs, int num_reqs)
return status;
}
+ for (i=0; i < (num_reqs - 1); i++) {
+ state = tevent_req_data(reqs[i], struct cli_smb_state);
+
+ state->seqnum = last_state->seqnum;
+ }
+
return NT_STATUS_OK;
}