Re: [opensuse] Re: SV: How do I make smbd to follow symlinks?
- From: John Andersen <jsamyth@xxxxxxxxx>
- Date: Mon, 27 Jun 2011 11:57:01 -0700
On 6/27/2011 11:27 AM, Joachim Schrod wrote:
Anders Norrbring wrote:Read Adam's email again.On Mon, 2011-06-27 at 10:41 +0200, Anders Norrbring wrote:Hi..openSUSE
I’m trying to make smbd to follow symlinks on a machine based on
11.4 x86_64, in my smb.conf I have this for the share in question:
(a) this is a bad idea
(b) man smb.conf --> "wide links"
<QUOTE>
This parameter controls whether or not links in the UNIX file
system may be followed by the server. Links that point to areas
within the directory tree exported by the server are always
allowed; this parameter controls access only to areas that are
outside the directory tree being exported.
</QUOTE>
The symlink does point outside the exported tree. The export is
/srv/www and the symlink is /srv/www/homes which points to /home
Anyway, I tried setting this in the global section:
unix extensions = no
follow symlinks = yes
as well as follow symlinks = yes in the share config. I still
can't access the symlinked directory from /srv/www so the
question is if there's a bug in openSUSE's implementation of the
samba server.
You need
wide links = yes
as well.
Joachim
Wide links = Yes was the default until about this time last year.
There there was a huge hubbub on the net about a claimed zero-day exploit of /etc/passwd
which Samba.org mentioned here: http://www.samba.org/samba/news/symlink_attack.html
Samba changed the default, but I still fail to see how simple read access to
/etc/passwd is a big deal.
--
_____________________________________
---This space for rent---
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] How do I make smbd to follow symlinks?
- From: Anders Norrbring
- Re: [opensuse] How do I make smbd to follow symlinks?
- From: Adam Tauno Williams
- [opensuse] Re: SV: How do I make smbd to follow symlinks?
- From: Joachim Schrod
- [opensuse] How do I make smbd to follow symlinks?
- Prev by Date: Re: [opensuse] Router? Splitter?...
- Next by Date: Re: [opensuse] Router? Splitter?...
- Previous by thread: Re: SV: [opensuse] Re: SV: How do I make smbd to follow symlinks?
- Next by thread: [opensuse] SFW2-INext-DROP-DEFLT IN=eth0
- Index(es):
Relevant Pages
|