diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/msdfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c index 1641679a35..13c44e9420 100644 --- a/source3/smbd/msdfs.c +++ b/source3/smbd/msdfs.c @@ -1253,7 +1253,7 @@ NTSTATUS resolve_dfspath(connection_struct *conn, BOOL dfs_pathnames, pstring na { NTSTATUS status = NT_STATUS_OK; BOOL dummy; - if (dfs_pathnames && lp_host_msdfs() && lp_msdfs_root(SNUM(conn))) { + if (dfs_pathnames) { status = dfs_redirect(conn, name, False, &dummy); } return status; @@ -1269,7 +1269,7 @@ NTSTATUS resolve_dfspath(connection_struct *conn, BOOL dfs_pathnames, pstring na NTSTATUS resolve_dfspath_wcard(connection_struct *conn, BOOL dfs_pathnames, pstring name, BOOL *ppath_contains_wcard) { NTSTATUS status = NT_STATUS_OK; - if (dfs_pathnames && lp_host_msdfs() && lp_msdfs_root(SNUM(conn))) { + if (dfs_pathnames) { status = dfs_redirect(conn, name, True, ppath_contains_wcard); } return status; |