summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-06 07:45:06 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-06 16:37:20 +0100
commit196a5d038886bdea678ac9ae97bdf9dab825e23f (patch)
treee16561f4d669a5c675cd7ebff56e8b16c1ef2dd0 /source3/include
parent4b6cbe80b28b7a99ba8f35190d809f5a439fdd22 (diff)
downloadsamba-196a5d038886bdea678ac9ae97bdf9dab825e23f.tar.gz
samba-196a5d038886bdea678ac9ae97bdf9dab825e23f.tar.bz2
samba-196a5d038886bdea678ac9ae97bdf9dab825e23f.zip
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
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index ffdef43d19..6376d8af8a 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -3209,7 +3209,7 @@ bool srv_oplock_set_signing(bool onoff);
bool srv_check_sign_mac(const char *inbuf, bool must_be_ok);
void srv_calculate_sign_mac(char *outbuf);
void srv_defer_sign_response(uint16 mid);
-void srv_cancel_sign_response(uint16 mid);
+void srv_cancel_sign_response(uint16 mid, bool cancel);
void srv_set_signing_negotiated(void);
bool srv_is_signing_active(void);
bool srv_is_signing_negotiated(void);