summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-09-24 05:35:20 +0200
committerVolker Lendecke <vl@samba.org>2011-09-26 14:59:12 +0200
commitcb2b5c521b2c13b6b453e0f4d7db8845da1fa1cf (patch)
treebecb3a219c965f323fcb921da195e588c108d45f /source3
parent425b93ef6920367494ac773592b473802e59a471 (diff)
downloadsamba-cb2b5c521b2c13b6b453e0f4d7db8845da1fa1cf.tar.gz
samba-cb2b5c521b2c13b6b453e0f4d7db8845da1fa1cf.tar.bz2
samba-cb2b5c521b2c13b6b453e0f4d7db8845da1fa1cf.zip
s3: Remove the smbd_server_conn ref from dfs_redirect
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/msdfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c
index a197f33f11..abb0ebce5c 100644
--- a/source3/smbd/msdfs.c
+++ b/source3/smbd/msdfs.c
@@ -720,6 +720,7 @@ static NTSTATUS dfs_redirect(TALLOC_CTX *ctx,
connection_struct *conn,
const char *path_in,
bool search_wcard_flag,
+ bool allow_broken_path,
char **pp_path_out,
bool *ppath_contains_wcard)
{
@@ -731,7 +732,7 @@ static NTSTATUS dfs_redirect(TALLOC_CTX *ctx,
}
status = parse_dfs_path(conn, path_in, search_wcard_flag,
- !smbd_server_conn->using_smb2, pdp,
+ allow_broken_path, pdp,
ppath_contains_wcard);
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(pdp);
@@ -1810,6 +1811,7 @@ NTSTATUS resolve_dfspath_wcard(TALLOC_CTX *ctx,
conn,
name_in,
allow_wcards,
+ !smbd_server_conn->using_smb2,
pp_name_out,
&path_contains_wcard);