Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to edit smb.conf to enable symlink following?

Featured Replies

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?

  • 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?

 

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.

  • 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?

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.
  • 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!

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.