How to hide shares for users that have no rights

Glenn MacGregor gtm at oracom.com
Wed Oct 25 16:00:03 GMT 2000


I am not sure that will work.  At the time the config file is read those two meta
vars are not set.  I may be wrong but that is what I understood.

        Glenn

Giulio Orsero wrote:

> 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 pobox.com

--

Glenn MacGregor

Director of Services
Oracom, Inc.
http://www.oracom.com

Tel. +1 978.557.5710 Ext. 302
Fax  +1 978.557.5716







More information about the samba mailing list