Fix bug 7104 - "wide links" and "unix extensions" are incompatible.
authorJeremy Allison <jra@samba.org>
Sat, 6 Feb 2010 00:22:27 +0000 (16:22 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 15 Feb 2010 13:46:51 +0000 (14:46 +0100)
commitae430b88cef65a96f4126c2c26cb426eb857bfd5
tree367cc0c0efff13e465e66deadb777b0d810a6616
parent799f1d9cbdec5e6365b50cc476826b5c7ae4299d
Fix bug 7104 - "wide links" and "unix extensions" are incompatible.

Change parameter "wide links" to default to "no".
Ensure "wide links = no" if "unix extensions = yes" on a share.
Fix man pages to refect this.

Remove "within share" checks for a UNIX symlink set - even if
widelinks = no. The server will not follow that link anyway.

Correct DEBUG message in check_reduced_name() to add missing "\n"
so it's really clear when a path is being denied as it's outside
the enclosing share path.

Jeremy.
(cherry picked from commit 9e64c33b7757dd4528a9c8d31d0c0c159a33daf8)
docs-xml/smbdotconf/misc/widelinks.xml
docs-xml/smbdotconf/protocol/unixextensions.xml
source3/param/loadparm.c
source3/smbd/service.c
source3/smbd/trans2.c
source3/smbd/vfs.c