From: Jeremy Allison Date: Thu, 11 Aug 2022 04:34:29 +0000 (-0700) Subject: s3: smbd: Change create_junction() to use parse_dfs_path_strict(). X-Git-Tag: talloc-2.4.0~1250 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e4045bd7f155d0b750e2d3f3434d3105a9f0740c;p=thirdparty%2Fsamba.git s3: smbd: Change create_junction() to use parse_dfs_path_strict(). Note we no longer use allow_broken_path. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c index a0ed3049cdd..980078bdc40 100644 --- a/source3/smbd/msdfs.c +++ b/source3/smbd/msdfs.c @@ -1475,10 +1475,9 @@ bool create_junction(TALLOC_CTX *ctx, char *reqpath = NULL; NTSTATUS status; - status = parse_dfs_path(ctx, - NULL, + status = parse_dfs_path_strict( + ctx, dfs_path, - allow_broken_path, &hostname, &servicename, &reqpath);