From f4593181876f7a9ef55ceee8d1a20369197a63ba Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 21 Oct 2011 18:35:15 -0700 Subject: [PATCH] Third part of fix for bug #8541 - readlink() on Linux clients fails if the symlink target is outside of the share. Missed passing ucf_flags instead of hard coded flags in findfirst call. Autobuild-User: Jeremy Allison Autobuild-Date: Sat Oct 22 06:30:16 CEST 2011 on sn-devel-104 --- source3/smbd/trans2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 6ac95bde689..f6e62ef7dba 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -2332,8 +2332,7 @@ close_if_end = %d requires_resume_key = %d level = 0x%x, max_data_bytes = %d\n", ntstatus = filename_convert(ctx, conn, req->flags2 & FLAGS2_DFS_PATHNAMES, directory, - (UCF_SAVE_LCOMP | - UCF_ALWAYS_ALLOW_WCARD_LCOMP), + ucf_flags, &mask_contains_wcard, &smb_dname); if (!NT_STATUS_IS_OK(ntstatus)) { -- 2.34.1