Fix bug 7104 - "wide links" and "unix extensions" are incompatible.
commit44030967049202b766dd865861b1fa8fbaa4d69d
authorJeremy Allison <jra@samba.org>
Sat, 6 Feb 2010 00:28:49 +0000 (5 16:28 -0800)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Feb 2010 09:27:39 +0000 (9 10:27 +0100)
treec0a0c617afc1b9c4f00cbb9089956600f6869c88
parenta115b05969564b1c9a2cac0986e113f69dd08d2c
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.
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