Koozali.org: home of the SME Server

hiding ibays from internal network.

Jerry Davis

hiding ibays from internal network.
« on: April 11, 2002, 09:29:52 PM »
Does anybody know of a way to remove the samba sharing from ibays, but leave them accesible on the net as virtual domains?  I want to be able to leave most of my ibays accessible to my internal network (windows machines), but have my virtual domain ibays accessible only via FTP, not cluttering up the network browser on users machines.

Any help would be greatly appreciated.

Jerry Davis

Re: hiding ibays from internal network.
« Reply #1 on: April 11, 2002, 10:01:28 PM »
Oh BTW- this is on E-smith 4.1.  Can I just comment out the ibays that I want to hide from the local network in etc/samba/smb.conf ?  
Or add "browseable = no" - will this keep them from showing up in my network neighborhood, but keep them accessible online as virtual domains and FTP?  

After making such changes would I have to reboot the server?

Can you tell I'm a newbie?

Ray Mitchell

Re: hiding ibays from internal network.
« Reply #2 on: April 12, 2002, 01:24:16 PM »
Dear Jerry

This can all be done in server manager I believe, without needing any command prompt intervention, using the Users, Groups and ibays panels.

By making your users members of groups you can control this.
Each ibay should be owned by a specific group, rather than Everyone or Administrator. Read/Write access should be set to that Group. Multiple ibays can be owned by the same Group.

Make ALL your user(s) a member of a group for which they need local ibay access. Users can be members of multiple Groups where you may wish to allow some local users access to local ibays and some local users not.

If you have a number of ibays that ALL local users need to access, these ibays can be owned by the same group, therefore the members of that group can access all those ibays.

The ftp site ibays would need to be owned by a different group than any of the main local users group(s) in order to prevent the local users from accessing the ftp ibays via the local network (Windows browsing etc) They will see the ibay but will NOT be able to access it. Make sure your local Users are NOT a member of the Group owning the ibay for which you are allowing external access only.

The external Internet access is controlled by password on the ibay (eg all internet password required) (which is a separate thing to the group access rights).
If you give external users the ibay password they can ftp or www to the site. Of course you DO NOT give the ibay password to your local users so they will not be able to get www or ftp access even via the local intranet.

I know it's not using the command prompt, but it works
Hope this helps
Ray Mitchell

Jerry Davis

Re: hiding ibays from internal network.
« Reply #3 on: April 12, 2002, 10:27:21 PM »
The problem is that there is no password/account setup at my office, and no plan to set any up. - Basically everything in the internal network is wide open, people move from machine to machine and need access to the shared ibays.  Basically I just want to remove select ibays from showing up in the network neigborhood at all, not neccessarily prevent access to them, just hide them.

Duncan

Re: hiding ibays from internal network.
« Reply #4 on: April 13, 2002, 05:19:21 AM »
Setting the ibays to browsable=no would work until you added another ibay (or modified an existing one). The template system would then overwrite your changes and they would be back.

It would be a useful feature to have a browsable yes/no button added to the ibays area in future releases.

Regards Duncan