Koozali.org: home of the SME Server

Hide Primary share?

Holger Erlands-Petersen

Hide Primary share?
« on: September 01, 2001, 04:32:38 AM »
Is there a way to hide the Primary share from ordinary users?

Robert Heaton

Re: Hide Primary share?
« Reply #1 on: September 05, 2001, 03:05:50 PM »
Hi,

You could hide the share from all users by doing the following,

edit the following file;

/etc/e-smith/templates/etc/smb.conf/60primary

add the line

browsable = no

Now tell the system to apply the configuration
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot


Rob.

Holger Erlands-Petersen

Re: Hide Primary share?
« Reply #2 on: September 06, 2001, 12:22:22 AM »
Works fine!

Thank you very much for your help Rob.

/Holger

Greg O

Re: Hide Primary share?
« Reply #3 on: December 05, 2001, 07:50:33 AM »
Hi - this was very useful, however I'd like to ask for more (:

How does one only show ibays to users who have access to them?
Ie, in network neighbourhood, under the server, i have a list of all ibays, regardless of whether i can access them or not.

When I double-click on an ibay that I don't have access to, windoze brings up a dialog box saying " is not accessible. Access is denied." - Retry or Cancel. For these ibays, I want them not to show up in the network neighbourhood --> server window at all. I've fiddled with smb.conf a little, but can't seem to make it work.

Thanks for any help...
Greg.