diff options
author | Jeremy Allison <jra@samba.org> | 2011-10-21 18:35:15 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-11-01 19:45:59 +0100 |
commit | 8ece6f449410fb7067d0eee1f10faa9ee7725ad5 (patch) | |
tree | 730336a257a3c0913900ede0d4e9ea0eda857c91 | |
parent | e0959885005da56865c6f9c46831f3040295a978 (diff) | |
download | samba-8ece6f449410fb7067d0eee1f10faa9ee7725ad5.tar.gz samba-8ece6f449410fb7067d0eee1f10faa9ee7725ad5.tar.xz samba-8ece6f449410fb7067d0eee1f10faa9ee7725ad5.zip |
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 <jra@samba.org>
Autobuild-Date: Sat Oct 22 06:30:16 CEST 2011 on sn-devel-104
(cherry picked from commit f4593181876f7a9ef55ceee8d1a20369197a63ba)
(cherry picked from commit 73aee207497028b524f2f4d011ab28d954a598c7)
-rw-r--r-- | source3/smbd/trans2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 6cadc8cc4e7..93fa2911920 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -2295,8 +2295,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)) { |