SMB Export w/Manual Config


Recommended Posts

It would be very nice if there was an option in the SMB section of the share for manual configuration of that export.

 

Something like 

 

Export: Yes (Manual)

 

Selecting that would remove all of the unraid provided SMB configuration and replace it with a text area with just the raw SMB configuration for the share.

 

This can be done already by not exporting the share and then going into the SMB settings and adding the extra configuration, but that's much less user friendly, and requires stopping the array in order to change it.

Edited by DanTheMan827
Link to comment

Manual SMB export configuration would allow the ability to specify certain advanced smb options like setting the "fruit" options of an export on a per share basis, or perhaps setting the path as the ZFS dataset rather than the user share version.

 

Using the ZFS dataset would allow SMB to show the correct space if you set the ZFS dataset reserved space and max space.

 

You could have a ZFS dataset on a drive dedicated to Time Machine, or even just a non-Apple share you want to configure for File History on Windows and not have it eat all your space.

 

zfs create disk1/mybackup
zfs set reservation=1T disk1/mybackup
zfs set quota=1T disk1/mybackup

 

Maybe it would work, but I think a non-exclusive version of this share would have issues with free space calculation

Edited by DanTheMan827
Link to comment

You can probably do everything you want to do if you use the smb-extra,conf configuration section in the   Settings  >>>>  SMB   >>>    SMB Extras   

 

Have a look at the   smb.conf     file in the   /etc/samba      folder as well as the other files in that folder.   You can find the many, many parameters for the smb.conf file by googling for it.  Configuring Samba manually is not a trivial task.  

Edited by Frank1940
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.