Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-12-2010, 06:06 PM
|
#1
|
|
LQ Newbie
Registered: Feb 2008
Location: Amsterdam
Distribution: OpenSuse 10.3
Posts: 16
Rep:
|
SAMBA client wont follow sym links..
Hi all,
"Something happened" to my samba install, and it was working fine, and is still largely working fine, except I cant browse via syn links created with:
[code]user@server~/medialist>ln -s /media/disk1/films/ films[code]
This used to work fine, and i cant figure out what happened...
I rebooted, (after umount -a, then commenting out the connected usb drives from fstab and turning them off...reboot...turn on drives one by one, uncomment from fstab, mount -a...its a bit of a drag rebooting! Quite a few updates happened (openSuse11.2)...
I can still browse all the samba shares directly but I cant follow a symlink anymore ("you do not have permisssion to view this file") from the same windows client to any of them if they are linked as above.
I have searched What am I doing wrong?
Thanks in advance,
Jim
|
|
|
|
04-14-2010, 04:46 AM
|
#2
|
|
Senior Member
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,007
Rep: 
|
Hi
I had the same problem. An update changed this. From /usr/share/doc/samba/changelog.Debian.gz
samba (3.0.28a-1ubuntu4.11) hardy-security; urgency=low
* SECURITY UPDATE: arbitrary file disclosure via wide links
- debian/patches/security-CVE-2010-0926.patch: disable wide links when
UNIX extensions are enabled in source/param/loadparm.c,
source/smbd/service.c, source/smbd/trans2.c, source/smbd/vfs.c,
docs/htmldocs/manpages/smb.conf.5.html, docs/manpages/smb.conf.5.
- CVE-2010-0926
* WARNING: This changes the default samba behaviour. For security
reasons, it is no longer possible to use wide links and UNIX
extensions at the same time. After applying this security update, wide
links will be disabled automatically as UNIX extensions are turned on
by default. If wide links are required, you may re-enable them by
adding "unix extensions = no" to the [global] section of
the /etc/samba/smb.conf configuration file.
|
|
|
1 members found this post helpful.
|
04-14-2010, 04:45 PM
|
#3
|
|
LQ Newbie
Registered: Feb 2008
Location: Amsterdam
Distribution: OpenSuse 10.3
Posts: 16
Original Poster
Rep:
|
[solved]
Thanks a lot, I had read about that and added "unix extensions = no" but I also had to add "follow wide links = yes" to the [global] section of /etc/samba/smb.conf, but your post pointed me in the right direction.
I rebooted Samba, i.e as root:
Code:
/etc/init.d/smb restart
and
Code:
/etc/init.d/nmb restart
And browsed to my directory
It says in the man page that "follow wide links = yes" is the default behaviour, but apparently not on my box. :S
Thanks again
Jim
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:32 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|