mirror of
https://github.com/samba-team/samba.git
synced 2025-03-22 02:50:28 +03:00
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 <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit baa3e71f7968ec3239d80d7602839c2d7c2de74f)
This commit is contained in:
parent
6f05903e25
commit
ef48aa4867
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user