]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: Change create_junction() to use parse_dfs_path_strict().
authorJeremy Allison <jra@samba.org>
Thu, 11 Aug 2022 04:34:29 +0000 (21:34 -0700)
committerJeremy Allison <jra@samba.org>
Sun, 28 Aug 2022 19:59:28 +0000 (19:59 +0000)
Note we no longer use allow_broken_path.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/msdfs.c

index a0ed3049cdd8754bca07e53d67c7b99ac84118d6..980078bdc40841296873adea26062b57138c2bae 100644 (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);