LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Making Samba Share Browseable for some (https://www.linuxquestions.org/questions/linux-newbie-8/making-samba-share-browseable-for-some-167042/)

mindspenk 04-06-2004 06:06 PM

Making Samba Share Browseable for some
 
Ok, here is what I am having a problem with;
I am trying to make samba folder shares browseable for some of my users, and invisable for others.
I know that if I put a $ after the folder name that will make it invisible in Network neighborhood, and if I put browseable = No in the settings for the folder, that will make it invisible also. But both of these do the same for all users.
I need to have a folder viewable through Network Neighborhood for some users, and invisible for others. Does anyone know how to accomplish this?

I am running Redhat 7.3 and Samba 2.2.1a

thanks

ScooterB 04-07-2004 07:35 AM

One way to achieve what you desire is to make a separate share for the files you want certain users to see and making public browsing= no. Then give only the users whom you want to see those files access. Linux also has the ability to "hide" any files that begin with dots. It looks upon them much as Windows looks at hidden files. You can accomplish what you want to do, but it will take some manipulation with Linux and Windows. The way that I handle that situation is using Linux file permissions. I simply set up a group and only give that group access. It doesn't keep people from seeing the files but it will darn sure prevent them from accessing them.

subaruwrx 07-08-2004 10:13 PM

Strange windows (as usual)

Tried browseable = no and made hidden folder. My user still can see the folder at network neighbourhood but only after entering user and pass i got denied, saying the network path not found.

But when tried accessing from Entire Network, Microsoft Windows Network, Samba Server, then its working as instructed.


All times are GMT -5. The time now is 05:35 PM.