In light of recent Wannacry and "sambracry" exploits - it seems wise to simply uninstall Samba. (over and above config changes to disable the oldest protocols)
I installed Samba a while ago (years) to access Windows shared folders, but no longer use it.
Are there any odd things that use or depend on Samba other than sharing folders and printers to and from windows machines?
What consequences am I likely to face (if any) if I uninstall Samba.
Edit: more information. Running:
apt-cache rdepends samba --installed
(thanks to this answer) outputs the following list - most of it is looks like other components of Samba - but there are other things such as nautilus-share that sound unrelated.
samba
Reverse Depends:
libpam-winbind
libnss-winbind
winbind
smbclient
samba-vfs-modules
samba-libs
samba-libs
samba-common-bin
samba-common
samba
libwbclient0
libpam-winbind
libnss-winbind
winbind
smbclient
samba-vfs-modules
samba-libs
samba-common-bin
samba-common
samba
nautilus-share
libwbclient0
apt-get remove --purge samba
than if any of the dependecies is used also by another program, it won't get removed. Samba itself is not just for filesharing but might also be used for user and group administration. But if you didn't use that than there should not be any consequences on removing it again. – derHugo May 26 '17 at 14:26