smbd: pass symlink target path to safe_symlink_target_path()
authorRalph Boehme <slow@samba.org>
Tue, 2 Jan 2024 11:49:14 +0000 (12:49 +0100)
committerJule Anger <janger@samba.org>
Mon, 29 Jan 2024 10:46:17 +0000 (10:46 +0000)
commit90ae1e8f62512ea4da6457d2811310046d178ee9
treeb7bd99ebb74ed1612fbeafbd83296289acac6244
parent4c4f086dfdbc68880e3d76e2a8aa6d818f925444
smbd: pass symlink target path to safe_symlink_target_path()

Moves processing the symlink error response to the caller
filename_convert_dirfsp(). Prepares for using this in
non_widelink_open(), where it will replace symlink_target_below_conn()
with the same functionality.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(back-ported from commit 0515dded4ddb49e5570ae7df51126af1a2d643de)
source3/include/proto.h
source3/smbd/filename.c