View Full Version : [ubuntu] Disable samba (Ubuntu Lucid)
November 4th, 2010, 04:18 PM
I'm kind of lost. I need to disable user access to network shares. I've already uninstalled samba, smbclient, samba-common, winbind and even libgnomevfs-extra and nautilus is still able to access the shares! Isn't there an easy way to turn that network functionality in nautilus off?
November 4th, 2010, 07:00 PM
Bump, please.. Any idea?
November 5th, 2010, 11:45 AM
You mean network shares of Windows machines, right ?
I think you need firewall rules to prevent access to destination port 445 and 139
November 5th, 2010, 12:51 PM
I think this needs to be done on the share server's firewall, not on the client.
This might help (not sure though).
Simply enable the default Ubuntu firewall, UFW.
sudo ufw enable
Set it to deny all connections by default.
sudo ufw default deny
Samba should be blocked by default, still you can,
sudo ufw deny samba
You can open any ports you need. Make sure your users don't know your password :)
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.