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, 28 Jan 2020 12:26:21 +0000 (13:26 +0100)
commit284ea749685b054547f247abde38de5157337ab9
treea3f09de4b5c34c819262186eae07b126b69cfb5b
parentbff31e18d4707f4fb91ac69c51652aa704ef7837
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