From 1cfc66ee474707468470416413d41db0f1df76b4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 6 Apr 2017 22:12:36 +0200 Subject: [PATCH] smbd: Fix smb1 findfirst with DFS 9377f3bce should have changed the callers of dfs_path_lookup. It now takes a uint32_t ucf_flags, not a boolean anymore. Bug: https://bugzilla.samba.org/show_bug.cgi?id=12558 Signed-off-by: Volker Lendecke --- source3/smbd/msdfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c index 51e3dff..61538ce 100644 --- a/source3/smbd/msdfs.c +++ b/source3/smbd/msdfs.c @@ -888,7 +888,7 @@ static NTSTATUS dfs_redirect(TALLOC_CTX *ctx, } status = dfs_path_lookup(ctx, conn, path_in, pdp, - search_wcard_flag, NULL, NULL); + ucf_flags, NULL, NULL); if (!NT_STATUS_IS_OK(status)) { if (NT_STATUS_EQUAL(status, NT_STATUS_PATH_NOT_COVERED)) { DEBUG(3,("dfs_redirect: Redirecting %s\n", path_in)); @@ -1073,7 +1073,7 @@ NTSTATUS get_referred_path(TALLOC_CTX *ctx, * NT_STATUS_PATH_NOT_COVERED. */ status = dfs_path_lookup(ctx, conn, dfs_path, pdp, - False, consumedcntp, &targetpath); + 0, consumedcntp, &targetpath); if (!NT_STATUS_EQUAL(status, NT_STATUS_PATH_NOT_COVERED)) { DEBUG(3,("get_referred_path: No valid referrals for path %s\n", -- 2.1.4