Second part of fix for bug #8541 - readlink() on Linux clients fails if the symlink...
commitc4b6e73b406c4d89e03cb5b49bca52ef4dcefd9c
authorJeremy Allison <jra@samba.org>
Sat, 22 Oct 2011 00:46:12 +0000 (21 17:46 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 Jan 2012 20:26:12 +0000 (23 21:26 +0100)
tree45bf4f80012fa40103e81996890a728db7df0819
parentdf549978366222fc0c775f7c5935a975fe5a2599
Second part of fix for bug #8541 - readlink() on Linux clients fails if the symlink target is outside of the share.

The statcache has to do lstat instead of stat when returning cached
posix pathnames.
(cherry picked from commit 305d7d7f7d76e37d82ce6ac257f178ce654b26db)
(cherry picked from commit 6529ac5424f75943b612daddaefb765b44aecdf7)
source3/smbd/filename.c
source3/smbd/proto.h
source3/smbd/statcache.c