Fix bug 7104 - "wide links" and "unix extensions" are incompatible.
authorJeremy Allison <jra@samba.org>
Fri, 5 Feb 2010 23:20:18 +0000 (15:20 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 5 Feb 2010 23:20:18 +0000 (15:20 -0800)
commitbd269443e311d96ef495a9db47d1b95eb83bb8f4
tree5324577b3945cd4184da50e8b4f2ccc018a5621a
parentabbd0f9195fe9b4feb29b86a04c88be001e2737a
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