December 3, 201312 yr I'd like to enable "symlink following" on smb/samba on unRAID, so I can have (for example) an "80s" movies folder full of symlinks to the real locations of the movies. This doesn't work out-of-the-box. Adding the following 3 lines to the smb.conf file on unRAID should enable what I want: follow symlinks = yes wide links = yes unix extensions = no The questions I have are (1) where is the location of the smb.conf file, and (2) how do I edit it so that the setting "sticks" through every reboot?
December 3, 201312 yr Author Ah, found smb.conf, it's located at /etc/samba/smb.conf and looks like this: root@Tower:/etc/samba# cat smb.conf [global] # configurable identification include = /etc/samba/smb-names.conf # log stuff only to syslog log level = 0 syslog = 0 syslog only = Yes # we don't do printers show add printer wizard = No disable spoolss = Yes load printers = No printing = bsd printcap name = /dev/null # misc. max protocol = SMB2 invalid users = root unix extensions = No wide links = Yes use sendfile = Yes aio read size = 0 aio write size = 0 # hook for user-defined samba config include = /boot/config/smb-extra.conf # auto-configured shares include = /etc/samba/smb-shares.conf So I just need to add the single "follow symlinks = yes" line. So how do I get it to stick on every reboot?
December 3, 201312 yr Create a smb-extra.cfg file (the name might be different as my memory might be wrong). That file gets combined with the smb.conf file at every boot. If you search the forums for smb-extra you should get examples.
December 3, 201312 yr Author Create a smb-extra.cfg file (the name might be different as my memory might be wrong). That file gets combined with the smb.conf file at every boot. If you search the forums for smb-extra you should get examples. Right, but if I create that file, it'll get wiped out next time I reboot, right? Don't I have to put it somewhere on the bootable flash drive?
December 3, 201312 yr Create a smb-extra.cfg file (the name might be different as my memory might be wrong). That file gets combined with the smb.conf file at every boot. If you search the forums for smb-extra you should get examples. Right, but if I create that file, it'll get wiped out next time I reboot, right? Don't I have to put it somewhere on the bootable flash drive? You put that file in the config folder on the flash drive.
December 3, 201312 yr Author Create a smb-extra.cfg file (the name might be different as my memory might be wrong). That file gets combined with the smb.conf file at every boot. If you search the forums for smb-extra you should get examples. Right, but if I create that file, it'll get wiped out next time I reboot, right? Don't I have to put it somewhere on the bootable flash drive? You put that file in the config folder on the flash drive. Ah, you can just place the file right there, got it. I didn't know if I had to create some "/flash/etc/samba/" fake path to make sure it was read in the correct place. Thanks!
December 3, 201312 yr I was also wrong about the name it is smb-extra.conf here is one I have to make my VMDK boot drive available across the network for my virtualized unRAID servers: [boothdd] comment = Public Folder force user = root path = /mnt/boothdd public = yes writable = yes
Archived
This topic is now archived and is closed to further replies.