How to hide shares for users that have no rights
Glenn MacGregor
gtm at oracom.com
Wed Oct 25 14:24:42 GMT 2000
Hello,
I do this by not making any shares in my smb.conf file but adding a line like the
following in there
include = /path/to/name dependant/shares/smb.conf.%m
the %m is the netbios name of the machine trying to connect.
I have a file for each of my machines, I don't have 300 only about 25 so this is
managable.
In each of those files I have lines that include shares
include = /path/to/share/conf files/smb.conf.sales
now in each of those files I have the share info.
This works for me because each user is generally at one machine, no moving
around. This is not user dependant but machine dependant. I also put in each
share declaration valid users so if someone does go to another machine and sees a
share they don't have access to they still can't get in.
There is probably a better way but this seems to work.
Glenn
Lorenzo Corradini wrote:
> Good morning. I am working as system administrator in a LAN with 300 Win9X
> clients and I am trying to install a production SAMBA server. I am using
> samba 2.0.7 on RedHat Linux 6.2 and Domain security.
> I am trying to solve a problem.
>
> *) 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
> of the other users. I am trying to understand if I can obtain the same
> effect for the other shares.
>
> Thank you very much,
> Lorenzo Corradini.
>
> ___________________________________________________
> Se vuoi un indirizzo di posta elettronica gratuito,
> iscriviti a http://www.katamail.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