Vempati Srinivasa Rao
2004-Apr-14 03:44 UTC
[Samba] How to hide shares for users that have no rights
Good morning. I am using samba 3.0 on RedHat Linux 9.0 and Linux machine is having lot of users and groups . I am trying to solve a problem. I have created, for example, 10 shares ( each share is having different valid users and groups ) 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. Thank you very much Srinivasa Vempati 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
ryan.suarez@sheridanc.on.ca
2004-Apr-14 14:32 UTC
[Samba] How to hide shares for users that have no rights
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
Vempati Srinivasa Rao
2004-Apr-14 14:42 UTC
[Samba] How to hide shares for users that have no rights
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