You are not logged in.

#1 2012-12-19 11:37:21

tuxtard
Member
Registered: 2012-10-11
Posts: 30

[SOLVED] samba won't follow symlinks

I am looking for a way to allow samba server to follow symlinks to folders outside the designated share folder. I have already searched the Internet and found this as a solution:

[global]
follow symlinks = yes
wide links = yes
unix extensions = no

.... but it does not work for me. On the client side still there are no linked folders and files. Am I missing something?

Last edited by tuxtard (2012-12-19 18:16:49)

Offline

#2 2012-12-19 12:07:27

xpixelz
Member
From: Tunisia
Registered: 2012-02-29
Posts: 47
Website

Re: [SOLVED] samba won't follow symlinks

If you restarted smbd and files still don't show up than it may be a refresh problem on client side.
Try "refresh = 1" under [global] tag in your smb.conf and don't forget to restart smbd of course.
As you may set "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Update\UpdateMode" to 0 in your windows client.

Offline

#3 2012-12-19 17:58:25

tuxtard
Member
Registered: 2012-10-11
Posts: 30

Re: [SOLVED] samba won't follow symlinks

Thank you for your reply. I tried that but it did not work sad

Offline

#4 2012-12-19 18:16:15

tuxtard
Member
Registered: 2012-10-11
Posts: 30

Re: [SOLVED] samba won't follow symlinks

It was a permission error after all. I had to chown the link itself to a user that is bind in samba. chown -h username:group symlink did the trick smile

Offline

#5 2012-12-20 06:08:52

xpixelz
Member
From: Tunisia
Registered: 2012-02-29
Posts: 47
Website

Re: [SOLVED] samba won't follow symlinks

Sometimes we go the hard way and forget to try trivial things first... Assumptions are evil.

Offline

Board footer

Powered by FluxBB