Difference between revisions of "Share Extra Parameters"

From Amahi Wiki
Jump to: navigation, search
(Created page with 'The ''Extra Parameters'' option for Shares will appear if you enabled Advanced_Settings. It can be used to add other parameters in your smb.conf for specific shares. For ex…')
 
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The ''Extra Parameters'' option for Shares will appear if you enabled [[Advanced_Settings]].
+
The ''Extra Parameters'' option for Shares will appear if you enabled [[Advanced_Settings|Advanced Settings]].
  
 
It can be used to add other parameters in your smb.conf for specific shares.
 
It can be used to add other parameters in your smb.conf for specific shares.
  
For example, you could add a line such as:
+
'''IMPORTANT: You can easily make Amahi generate INVALID samba configurations with this option - so use it very carefully!!'''
vfs objects = recycle
 
to enable the Recycle Bin module for that share.
 
  
 
[[File:Share_Extra_Parameters.png]]
 
[[File:Share_Extra_Parameters.png]]
 +
 +
= Things You Can Do =
 +
 +
You can do anything that Samba let's you
 +
 +
* Add [[Recycle bins]] to each of your shares
 +
* Allow guests to see a share, by adding this line to a share
 +
guest ok = yes
 +
* Add [http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2650822 quotas] to a share
 +
* Allow files to be set as hidden in Windows
 +
map hidden = yes
 +
* [http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2651039 Audit share activiy]
 +
* Add comment to shares (overrides existing share name comment)
 +
comment = Backup files from Windows PC
 +
* Even run [http://www.clamav.net/ ClamAV antivirus] and having [http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2652839 virus protection in a given share]
 +
 +
 +
If these work well and there is demand for any of them, we will provide them as a single-click checkbox. Send us feedback or file a [http://bugs.amahi.org feature request] for it!

Latest revision as of 17:43, 9 August 2014

The Extra Parameters option for Shares will appear if you enabled Advanced Settings.

It can be used to add other parameters in your smb.conf for specific shares.

IMPORTANT: You can easily make Amahi generate INVALID samba configurations with this option - so use it very carefully!!

Share Extra Parameters.png

Things You Can Do

You can do anything that Samba let's you

  • Add Recycle bins to each of your shares
  • Allow guests to see a share, by adding this line to a share
guest ok = yes
  • Add quotas to a share
  • Allow files to be set as hidden in Windows
map hidden = yes
comment = Backup files from Windows PC


If these work well and there is demand for any of them, we will provide them as a single-click checkbox. Send us feedback or file a feature request for it!