How to make samba derefer symlinks?
I'm using Debian sid with Samba 2:3.4.6~dfsg-1 on my server and Ubuntu 9.10 on the client.
On the server I set up the following config:
----
[global]
server string = %h server
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\
unix password sync = Yes
syslog = 0
log file = /var/log/
max log size = 1000
load printers = No
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/
wide links = Yes
[homes]
comment = Home Directories
valid users = %S
create mask = 0700
directory mask = 0700
browseable = No
browsable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
browsable = No
[print$]
comment = Printer Drivers
path = /var/lib/
---
Then I set up the usershare:
---
$ net usershare info video
[video]
path=/home/
comment=
usershare_
guest_ok=y
---
In the Video folder I have some files and directories, which in fact are symlinks to the files and dirs in outside folder.
But when I try to browse Video share from my Ubuntu system, that symlinks are simply not displayed.
I tried to insert "follow symlinks = yes", "wide symlinks = yes" and "unix extensions = yes" (that config options were found in the Samba manual) in the global section of my config, but as you can see above, testparm produces no error, but don't show "follow symlinks" and "unix extensions" options in dump.
Also, I tried to browse the share from my smbnetfs mounpoint:
---
$ ls -l /s/WORKGROUP/
...
-rw-r--r-- 1 root root 735295488 2009-08-15 15:48 normal_file
d????????? ? ? ? ? ? symlinked_dir
-????????? ? ? ? ? ? symlinked_file
---
No need to say, that even from smbnetfs mountpoint that symlinks are unable to be copied.
How can I make samba to provide them for me?
Thanks in advance.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu samba Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Vsevolod Velichko
- Solved:
- Last query:
- Last reply: