` 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). 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. 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). Nothing else has happened on it. If this patch is of interest to you, you might ask when they expect to include it? OR , it's in an attachment to the bug... and you can apply the patch... (or If that doesn't work I can email private or post the patch here...it's fairly short and undoes the damage that that ill-considered 'fix' did to wide-link usability; even if it was 'scary' to some people). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org