From 662e9c04fbdf8e01036ab98783693051b0eb9c7e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 21 Oct 2011 14:12:41 -0700 Subject: Fix bug #8541 - readlink() on Linux clients fails if the symlink target is outside of the share. The key is to only allow the lookup to succeed if it's a UNIX level lookup or readlink, but disallow all other operations. Autobuild-User: Jeremy Allison Autobuild-Date: Sat Oct 22 01:37:41 CEST 2011 on sn-devel-104 --- source3/include/smb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include') diff --git a/source3/include/smb.h b/source3/include/smb.h index 8e0e8efa80..ace3c5efba 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1603,6 +1603,7 @@ struct smb_file_time { #define UCF_ALWAYS_ALLOW_WCARD_LCOMP 0x00000002 #define UCF_COND_ALLOW_WCARD_LCOMP 0x00000004 #define UCF_POSIX_PATHNAMES 0x00000008 +#define UCF_UNIX_NAME_LOOKUP 0x00000010 /* * smb_filename -- cgit