summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-10-21 18:35:15 -0700
committerJeremy Allison <jra@samba.org>2011-10-22 06:30:16 +0200
commitf4593181876f7a9ef55ceee8d1a20369197a63ba (patch)
tree7f993acc4837fe8f38a7b6986ab07df924c68fb0
parentd1a4ee604ffaac4c6ddf6b8939e3d42688d2c73d (diff)
downloadsamba-f4593181876f7a9ef55ceee8d1a20369197a63ba.tar.gz
samba-f4593181876f7a9ef55ceee8d1a20369197a63ba.tar.bz2
samba-f4593181876f7a9ef55ceee8d1a20369197a63ba.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
-rw-r--r--source3/smbd/trans2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 6ac95bde68..f6e62ef7db 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)) {