smbd: drop requirement for full open for READ_CONTROL_ACCESS, WRITE_DAC_ACCESS and...
authorRalph Boehme <slow@samba.org>
Sat, 8 May 2021 19:45:25 +0000 (21:45 +0200)
committerJule Anger <janger@samba.org>
Mon, 9 Aug 2021 11:16:15 +0000 (11:16 +0000)
commit4f3b6f6b311942e1cf42ed263188384d643f25e6
tree513e613c7e4ea79f8c8f911152e548df8fa2cb25
parent9b8e795df6f61fdf530d3fe85faea8ae2e3c00e9
smbd: drop requirement for full open for READ_CONTROL_ACCESS, WRITE_DAC_ACCESS and WRITE_OWNER_ACCESS

This was needed before we had pathref fsps, with pathref fsps we can do
operation requiring WRITE_OWNER_ACCESS, WRITE_DAC_ACCESS and READ_CONTROL_ACCESS
on the pathref fsp.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit e71e373a07e467ff2d2328f39bd2bc285e2ba840)
source3/smbd/open.c