diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-11-07 08:44:39 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-11-07 09:18:10 +0100 |
commit | b20775fb3b3c86c4aab913e5cbae19cf4e0e71d3 (patch) | |
tree | 7c4fed5bddea1b2fbea697182ae2a0de527d1aec | |
parent | 20fe7658a779c24c9a4e0b66da844fd117a97319 (diff) | |
download | samba-b20775fb3b3c86c4aab913e5cbae19cf4e0e71d3.tar.gz samba-b20775fb3b3c86c4aab913e5cbae19cf4e0e71d3.tar.bz2 samba-b20775fb3b3c86c4aab913e5cbae19cf4e0e71d3.zip |
s3:libsmb: remember the seqnum on all chained requests
This is needed in order to verify the incoming signature
correctly.
metze
-rw-r--r-- | source3/libsmb/async_smb.c | 6 |
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; } |