From: Ralph Boehme Date: Sat, 2 May 2020 08:30:24 +0000 (+0200) Subject: smbd: set twrp in target_fname in target_fname() X-Git-Tag: ldb-2.2.0~670 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=89eb4c0225e2b5317fb5ad78440440321727bb50;p=thirdparty%2Fsamba.git smbd: set twrp in target_fname in target_fname() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/open.c b/source3/smbd/open.c index d45c02acd5b..4867048c94c 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -515,6 +515,7 @@ static int process_symlink_open(struct connection_struct *conn, link_target[link_len] = '\0'; target_fname = (struct smb_filename) { .base_name = link_target, + .twrp = smb_fname->twrp, }; /* Convert to an absolute path. */