summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-05-23 13:09:40 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-24 14:12:32 +0200
commit758d61201f7b51da6ce74aee2d18c5125d72522e (patch)
tree10c9fb6c13388b1a070e7dca3a1c999ce1e1ecb9 /source3/smbd
parenta92f7176bd7f198a547952142b7d361a9b4e9146 (diff)
downloadsamba-758d61201f7b51da6ce74aee2d18c5125d72522e.tar.gz
samba-758d61201f7b51da6ce74aee2d18c5125d72522e.tar.bz2
samba-758d61201f7b51da6ce74aee2d18c5125d72522e.zip
s3:smbd/msdfs: pass 'allow_broken_path' to get_referred_path()
Note the DCERPC code should not be smb2 specific! I wonder why this is at all smb2 specific... metze
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/msdfs.c4
-rw-r--r--source3/smbd/proto.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c
index 82859c3be4..76fcb8cbe3 100644
--- a/source3/smbd/msdfs.c
+++ b/source3/smbd/msdfs.c
@@ -856,7 +856,7 @@ static NTSTATUS self_ref(TALLOC_CTX *ctx,
NTSTATUS get_referred_path(TALLOC_CTX *ctx,
const char *dfs_path,
- struct smbd_server_connection *sconn,
+ bool allow_broken_path,
struct junction_map *jucn,
int *consumedcntp,
bool *self_referralp)
@@ -875,7 +875,7 @@ NTSTATUS get_referred_path(TALLOC_CTX *ctx,
*self_referralp = False;
- status = parse_dfs_path(NULL, dfs_path, False, !sconn->using_smb2,
+ status = parse_dfs_path(NULL, dfs_path, False, allow_broken_path,
pdp, &dummy);
if (!NT_STATUS_IS_OK(status)) {
return status;
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index f8a8281806..c5ca6b7176 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -457,7 +457,7 @@ bool is_msdfs_link(connection_struct *conn,
struct junction_map;
NTSTATUS get_referred_path(TALLOC_CTX *ctx,
const char *dfs_path,
- struct smbd_server_connection *sconn,
+ bool allow_broken_path,
struct junction_map *jucn,
int *consumedcntp,
bool *self_referralp);