smbd: move access override for previous versions to the SMB layer
authorRalph Boehme <slow@samba.org>
Fri, 15 Dec 2023 10:59:36 +0000 (11:59 +0100)
committerRalph Boehme <slow@samba.org>
Mon, 8 Jan 2024 16:58:26 +0000 (16:58 +0000)
commitf14a7065690b00e3c6af2c1f0b0aec51c1e0b372
treef3d315f775c036e63424747e19fc2b12a86e7f66
parentfd4e41144a819b4403340e4a28664ac586722b41
smbd: move access override for previous versions to the SMB layer

Doing the previous version access checks and semantics at the SMB
layer means we can simplify the shadow_copy2 and remove the kludge.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13688

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Jan  8 16:58:26 UTC 2024 on atb-devel-224
source3/modules/vfs_shadow_copy2.c
source3/smbd/open.c