Fix bug 7104 - "wide links" and "unix extensions" are incompatible.
commita056ee7f4f1ecc4e54e3cda58df73e2ed66b41e7
authorJeremy Allison <jra@samba.org>
Sat, 6 Feb 2010 00:22:27 +0000 (5 16:22 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 24 Feb 2010 15:25:10 +0000 (24 16:25 +0100)
treebb98ad841d98414fa3dc7a9a85b953b840bf43b2
parenteadf5b5cfc0f796b381b174395d19c20de6e714f
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 c1b05ae4febfba1a419eee0d04c3886de9f5fee0)
docs-xml/smbdotconf/misc/widelinks.xml
docs-xml/smbdotconf/protocol/unixextensions.xml
source/param/loadparm.c
source/smbd/service.c
source/smbd/trans2.c
source/smbd/vfs.c