Hiding samba share from browse list for unauthorised users
Posted
by karlbright
on Server Fault
See other posts from Server Fault
or by karlbright
Published on 2010-05-22T06:46:47Z
Indexed on
2010/05/22
6:51 UTC
Read the original article
Hit count: 173
Hey Guys,
I have been trying to setup my samba shares correctly.
The setup i was looking for was having a couple of shares available publicly, guest accounts are ok and can browse these shares all ok. I have this setup correctly.
The problem comes when setting up a share that only certain users can view, although i have setup a share that will only allow certain users to access. I havent been able to hide this share from guests.
I had a look into the browseable = yes option but this hides it from everyone, including the users that have logged in.
Any idea on how to tackle this?
The setup i have for this private share is follows:
[private] comment = private share for certain users path = /media/drive/private create mask = 0777 directory mask = 0777 writable = yes public = no users = admin
© Server Fault or respective owner