summaryrefslogtreecommitdiff
path: root/source3/rpc_server/dfs
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server/dfs')
-rw-r--r--source3/rpc_server/dfs/srv_dfs_nt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/rpc_server/dfs/srv_dfs_nt.c b/source3/rpc_server/dfs/srv_dfs_nt.c
index 0a9a7ccd62..e765f15a8d 100644
--- a/source3/rpc_server/dfs/srv_dfs_nt.c
+++ b/source3/rpc_server/dfs/srv_dfs_nt.c
@@ -361,8 +361,10 @@ WERROR _dfs_GetInfo(struct pipes_struct *p, struct dfs_GetInfo *r)
return WERR_NOMEM;
}
- if(!create_junction(ctx, r->in.dfs_entry_path,
- !smbd_server_conn->using_smb2, jn)) {
+ ret = create_junction(ctx, r->in.dfs_entry_path,
+ true, /* allow broken_path */
+ jn);
+ if (!ret) {
return WERR_DFS_NO_SUCH_SERVER;
}