On Tue, Aug 23, 2011 at 06:31:15PM -0700, Linda Walsh wrote:
` Lars M����������������������� wrote:
On Mon, Aug 22, 2011 at 11:33:51AM -0400, James Knott wrote:
I've recently set up a server running openSUSE 11.4. I have set up some common file areas in the /srv partition, which I link to from user directories. If I use WinSCP to access the user accounts, I can follow the symlinks to /srv. However, if I use Samba, I get an error that files on /srv are not accessible and it might be due to permissions. I have tried the "follow symlinks" and "wide links" options in smb.conf, but still no luck. Any ideas?
You know http://www.samba.org/samba/news/symlink_attack.html ?
BUT (yes, by intention all uppercase) this is only valid for Samba post-3.6.0pre2. As you state to use oS 11.4 I expect you're using the version included with the release, which was 3.5.7.
No...THEY backported the fix into the 3.5 (I know for sure, as I got hit by the fix twice),, and into earlier supported versions (AFAIK, but not certain).
Try to be exact! 3.5.7 did not got this fix. A later 3.5.x version might have gotten it.
The first hit was when it happened, -- patched my code, as it wasn't a real bug in my setup.
2nd, time -- when I upgraded from 11.2->11.4, I got the new version 3.5.7, which had the broken functionality again.
This is not broken. Read our samba.org announcement. The one I quoted. Read it, read it twice.
Rather than just patching my code, I submitted a fix for this against the samba base tree: https://bugzilla.samba.org/show_bug.cgi?id=8229 I also asked that it be included (it applies w/an offset, into the 3.5 series, but was too late to catch 3.5.11).
tara. 3.5.11 and openSUSE 11.4 had? Any further question? No? Then walk on there is ice cream in the fridge and drinks are on the balkony. ;) Me loves people who mess up the kitchen and don't clean up afterwards ... Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany