Hi all,
Here is my 2 cts on how to hide shares with Zentyal. Thanks to José for putting me on the right track, I just modified one thing.
1) Create the shares with Zentyal as you normally do
2) Prepare the configuration file
mkdir -p /etc/ebox/stubs/samba/
cp /usr/share/ebox/stubs/samba/smb.conf.mas /etc/ebox/stubs/samba/
3) Set up the "includes"
nano /etc/ebox/stubs/samba/smb.conf.mas
Modify the ligne 190 :
browseable = Yes
By :
include = /etc/samba/hiddenshares.conf
4) Configure the hidden shares
nano /etc/samba/hiddenshares.conf
Copy/paste in it the sections from /etc/samba/smb.conf of the shares you want to hide
Replace "browseable = yes" by "browseable = no", without the quotes, in each section
5) Restart samba
sudo /etc/init.d/ebox samba restart
I hope that will help.
If you have any idea of improvement, please let me know, and if it helped you, please let me know as well, it will make my day
To the Zentyal team : It would be awesome if in the Zentyal interface there was a box to tick : "Make invisible"
Cheers,
QJ