diff options
-rw-r--r-- | source3/smbd/msdfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c index 69612dc571..a2d7b778ca 100644 --- a/source3/smbd/msdfs.c +++ b/source3/smbd/msdfs.c @@ -771,7 +771,7 @@ NTSTATUS get_referred_path(TALLOC_CTX *ctx, } } - if (!lp_msdfs_root(snum)) { + if (!lp_msdfs_root(snum) && (*lp_msdfs_proxy(snum) == '\0')) { DEBUG(3,("get_referred_path: |%s| in dfs path %s is not " "a dfs root.\n", pdp->servicename, dfs_path)); |