s3:signing: the seqnum should only be decremented by 1 for ntcancel requests
authorStefan Metzmacher <metze@samba.org>
Tue, 10 Mar 2009 23:53:06 +0000 (16:53 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 11 Mar 2009 07:30:43 +0000 (08:30 +0100)
commit54ca4cc63c5364bcfb48a1a31812b4b1fc51ac44
treebc77ccf301e4270db5d065e285aa5485d133d5c2
parent765e6313408fda8943ae2ca48e4ad2f61a7714f6
s3:signing: the seqnum should only be decremented by 1 for ntcancel requests

[MS-SMB] 3.3.5.1 Receiving Any Message says that the seqnum
is incremented by only for ntcancel requests for any other
request it's by incremented by 2, even if it doesn't expect
a response.

metze
(cherry picked from commit 0999366b6b36f3084870af0375d686b0cbaae698)
source/include/proto.h
source/libsmb/smb_signing.c
source/smbd/aio.c
source/smbd/nttrans.c