[Samba] How to hide shares for users that have no rights

Vempati Srinivasa Rao Vempatir at ami.com
Wed Apr 14 14:48:44 GMT 2004



	If we set browseable = no , then share won't visible to valid users
also. But how to hide the share from user, if user is not valid.


> Hi Vempati,
> 
> The "valid users" directive only defines who can log on to the service.
> Hiding
> a share is set by the "browseable" directive.  Now wether you can make the
> share browseable to only certain users is another question...
> 
> 
> > My Partial Configuration File looks like this:
> >
> > #This config file contains all samba shares
> > [share1]
> >         path=/usr/dir1
> >         comment=Nas Share dir1
> >         valid users = user1, user3, user6
> > [share2]
> >         path=/usr/dir2
> >         comment=Nas Share dir2
> >         valid users = user2, user4, user6
> >
> > If I try to access using user1, now i'm seeing all shares on client
> machine.
> > because of share2 is not having access permissions to user1, this share
> > should not be visible.
> > Can anybody help to solve this
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba


More information about the samba mailing list