Second part of fix for bug #8541 - readlink() on Linux clients fails if the symlink...
authorJeremy Allison <jra@samba.org>
Sat, 22 Oct 2011 00:46:12 +0000 (17:46 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 26 Oct 2011 17:28:05 +0000 (19:28 +0200)
commit6529ac5424f75943b612daddaefb765b44aecdf7
treee7196c5ddf5977fe3504b81b17a160e11c2cebec
parenta7d2815e97218c2b7eccbac25f78f2c2fae45a79
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)
source3/smbd/filename.c
source3/smbd/proto.h
source3/smbd/statcache.c