New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Removing Shared Folders

Got problems with Bubba? Then this forum is for you.
Locked
Baden
Posts: 1
Joined: 12 Jul 2007, 06:28

Removing Shared Folders

Post by Baden »

Hello Bubba Bruthas (and hopefully a few sistas too),

I just got my bubba last week. I have had an absolute blast tweeking it to my needs. This fourm has been a wonderful source, thank you all.

My questions is simple--I am using my bubba as an application server. I do not want the users to even see the shared folders. Google tells me that samba is the correct direction for removing the shares... but excatly how is not clearly explained.

I still need the windows uses to be able to find bubba by simply going to http://servername, so it that part of the samba service still needs to work... I just want to turn off the shared folders that are shown under the Network Explorer.

Thanks in advance for throwing me a bone on this.

It would be great if this was managed in the future by the web-admin Under users.. be able to turn on/off folder sharing.

Thanks again!

/Baden
pa
Posts: 308
Joined: 06 Dec 2006, 04:38
Location: Sweden
Contact:

Post by pa »

Hi Baden,

Depending on your network setup, there are two things that you can do.

1. If you have a dns in your network that accepts that the client (in this case bubba) send its network name, you can just remove the startup of samba by, as root, entering:

/etc/init.d/samba stop
update-rc.d samba remove

This will cause samba to stop and not to start again at reboot. The http request will still work since the hostname is look-up by your dns and samba is not used for http-request.

2. If your dns does not let bubba add its network name, samba is used by windows to find the network name. You would then have to edit the /etc/samba/smb.conf file and remove all the shares by hand.

/PA
Locked