smbd: Open up openat_internal_dir_from_pathref() for general dirs
authorVolker Lendecke <vl@samba.org>
Fri, 15 Jul 2022 13:26:33 +0000 (15:26 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 25 Jul 2022 12:04:33 +0000 (12:04 +0000)
commit58d7b76a0acb2c6770fe8c5f702853cc518c43b0
tree774ef340708254e22a802994cea3026d2460b3d5
parent930426db02e493e259128a22aed6ba64d0bff786
smbd: Open up openat_internal_dir_from_pathref() for general dirs

We open "." fixed here, and fd_openat (or rather SMB_VFS_OPENAT) will
tell us if "dirfsp" does not point at a proper directory

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/files.c