From 6baec64a7370ff1871f0b806a623b1fc1a898acb Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 31 Oct 2005 20:11:58 +0000 Subject: r11420: Fix issue pointed out by Dina Fine . We can only tell at parse time from the wire if an incoming name has wildcards or not. If it's a mangled name and we demangle the demangled name may contain wildcard characters. Ensure these are ignored. Jeremy. (This used to be commit 4cd8e2a96b98ff711905e8c6f416b22440c16062) --- source3/smbd/msdfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/smbd/msdfs.c') diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c index 1e6306382a..a4f371b18f 100644 --- a/source3/smbd/msdfs.c +++ b/source3/smbd/msdfs.c @@ -114,7 +114,8 @@ static BOOL parse_processed_dfs_path(char* pathname, struct dfs_path *pdp, BOOL /* rest is reqpath */ if (allow_wcards) { - check_path_syntax_wcard(pdp->reqpath, p+1); + BOOL path_contains_wcard; + check_path_syntax_wcard(pdp->reqpath, p+1, &path_contains_wcard); } else { check_path_syntax(pdp->reqpath, p+1); } -- cgit