Difference between revisions of "Share Extra Parameters"
From Amahi Wiki
Line 13: | Line 13: | ||
* Add [[Recycle bins]] to each of your shares | * Add [[Recycle bins]] to each of your shares | ||
* Allow guests to see a share, by adding this line to a share | * 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 | * 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 | * 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] | * [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) | * Add comment to shares (overrides existing share name comment) | ||
− | + | comment = Backup files from Windows PC | |
* Add support for [[Greyhole|Greyhole Drive Pooling]] | * Add support for [[Greyhole|Greyhole Drive Pooling]] | ||
* Even run [http://www.clamav.net/ ClamAV antivirus] and [http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2652839 having virus protection in a given share] | * Even run [http://www.clamav.net/ ClamAV antivirus] and [http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2652839 having 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]! | 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]! |
Revision as of 03:15, 20 July 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!!
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
- Audit share activiy
- Add comment to shares (overrides existing share name comment)
comment = Backup files from Windows PC
- Add support for Greyhole Drive Pooling
- Even run ClamAV antivirus and having 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 feature request for it!