How to hide shares for users that have no rights

Giulio Orsero giulioo at
Wed Oct 25 13:43:07 GMT 2000

On 25 Oct 2000 12:53:17 +0000, you wrote:

> *) I have created, for example, 10 shares and I can access only 4 of them
>    (I have rights to read or write only for 4 shares).
>    Well, is it possible to hide to my browsing the 6 shares that I can not
>    access. I need to obtain an effect like the one I have for the Home share.
>    Each user can only see its own home directory and not the home directories

Consider using something like

include = /path/smb.conf.%U
include = /path/smb.conf.%G

and in /path/smb.conf.UserA put shares for UserA only
and in /path/smb.conf.GroupA put shares for GroupA only

giulioo at

More information about the samba mailing list