smbd: Fix following symlinks if basedir != cwd_fsp
commit99fa20b418fac0f1fa1571a4bd1ad50757e822a1
authorVolker Lendecke <vl@samba.org>
Wed, 23 Oct 2024 12:14:39 +0000 (23 14:14 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 12 Nov 2024 18:07:33 +0000 (12 18:07 +0000)
tree73ba4ecfc3ced6edd5ecb685897aec93bd670df1
parent82fd2230a8967a29288259d82acca7b6831e717d
smbd: Fix following symlinks if basedir != cwd_fsp

Unused so far, but soon we'll call this routine with a basedir that's
somewhere below the share root.

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