1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

s3: smbd: Change create_junction() to use parse_dfs_path_strict().

Note we no longer use allow_broken_path.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2022-08-10 21:34:29 -07:00
parent 6869e015d5
commit e4045bd7f1

View File

@ -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);