r25324: Fix "msdfs proxy"
authorVolker Lendecke <vlendec@samba.org>
Tue, 25 Sep 2007 21:41:39 +0000 (21:41 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:59 +0000 (12:30 -0500)
Jeremy, please check!
(This used to be commit d4eddf88d20b09c450d4358d2ef1bc35736501ff)

source3/smbd/msdfs.c

index 69612dc571b474c1c812794152f150d1d9dec409..a2d7b778ca393fbab18d095caa0a80437d3f87ad 100644 (file)
@@ -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));