smbd: Open file as REPARSE_POINT in smb_posix_unlink()
commit879db14ff69126af7b1c7336a36f33e003e8863c
authorVolker Lendecke <vl@samba.org>
Wed, 25 Oct 2023 07:29:13 +0000 (25 09:29 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 1 Nov 2023 18:55:32 +0000 (1 18:55 +0000)
treec6787d41448fbb67ee7229f6c065f9b26cafa879
parentbdc6d3be4cee4319b8c3951eb29c37d89518553e
smbd: Open file as REPARSE_POINT in smb_posix_unlink()

In the future we'll block opening symlinks as such in
SMB_VFS_CREATE_FILE() unless we open as reparse points.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb1_trans2.c