Fix bug 7104 - "wide links" and "unix extensions" are incompatible.
commit78cc7feadf925545101ac103b59cd669a0a93b01
authorJeremy Allison <jra@samba.org>
Sat, 6 Feb 2010 00:28:49 +0000 (5 16:28 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 10 Feb 2010 10:08:39 +0000 (10 11:08 +0100)
treebccef9dc52fc95d14053dda3ece84ea4629f5bff
parent184d91b95c0891f1bc79312fd77444f54c064b19
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 44030967049202b766dd865861b1fa8fbaa4d69d)
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