Fix bug #8541 - readlink() on Linux clients fails if the symlink target is outside...
authorJeremy Allison <jra@samba.org>
Fri, 21 Oct 2011 21:12:41 +0000 (14:12 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 21 Oct 2011 23:37:41 +0000 (01:37 +0200)
commit662e9c04fbdf8e01036ab98783693051b0eb9c7e
tree21ee96debd90ed2abcd81a1cc620c2738e2c1da3
parent950f1218b3b5b85d95190083985632a4e1046f10
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 <jra@samba.org>
Autobuild-Date: Sat Oct 22 01:37:41 CEST 2011 on sn-devel-104
source3/include/smb.h
source3/smbd/filename.c
source3/smbd/proto.h
source3/smbd/trans2.c