s3:smb2_lock: implement lock_sequence replay detection
authorStefan Metzmacher <metze@samba.org>
Wed, 24 Oct 2012 13:55:20 +0000 (15:55 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 15 Oct 2019 07:36:22 +0000 (09:36 +0200)
commite6eb59a89e11b25f8570e5ea02e3c58e1b8f5d43
tree2355b89a0065b5a15632331eeea668fed7152031
parent18febad451fe60e7c57e23f980202a00740eaab9
s3:smb2_lock: implement lock_sequence replay detection

While windows enables it only for resilient and persistent handles a SMB server
SHOULD (according to MS-SMB2 section 3.3.5.14 ) activate processing of lock
sequence numbers for EITHER
- protocol dialect 2.1 and resilient handles OR
- protocol dialect 3.x.

Pair-Programmed-With: Michael Adam <obnox@samba.org>
Pair-Programmed-With: Guenther Deschner <gd@samba.org>

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
selftest/knownfail
source3/smbd/smb2_lock.c