summaryrefslogtreecommitdiff
path: root/source3/smbd/filename.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-05-23 13:22:47 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-24 16:14:01 +0200
commita95b2ba043ce843149fef4821cc25823c53cf994 (patch)
treeaadff73ee71f5df60013836b1c2116d9ba295c4e /source3/smbd/filename.c
parent758d61201f7b51da6ce74aee2d18c5125d72522e (diff)
downloadsamba-a95b2ba043ce843149fef4821cc25823c53cf994.tar.gz
samba-a95b2ba043ce843149fef4821cc25823c53cf994.tar.bz2
samba-a95b2ba043ce843149fef4821cc25823c53cf994.zip
s3:smbd/msdfs: pass allow_broken_path to resolve_dfspath_wcard()
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 24 16:14:01 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r--source3/smbd/filename.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index ac218a16fe..a4f9cd1bf6 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -28,6 +28,7 @@
#include "system/filesys.h"
#include "fake_file.h"
#include "smbd/smbd.h"
+#include "smbd/globals.h"
static NTSTATUS build_stream_path(TALLOC_CTX *mem_ctx,
connection_struct *conn,
@@ -1309,6 +1310,7 @@ static NTSTATUS filename_convert_internal(TALLOC_CTX *ctx,
dfs_path,
name_in,
allow_wcards,
+ !conn->sconn->using_smb2,
&fname,
ppath_contains_wcard);
if (!NT_STATUS_IS_OK(status)) {