How do I completely rip-out smb / samba from my Ubuntu 11.10 machine?
How do I, afterwards, reinstall it cleanly?
UPDATE: My goal is to rip out any functionality related to Windows SMB from my desktop and do a clean re-install of these components. See this question for some background.
Best Answer
So, for the server, from the Terminal:
But, if you are having client problems, it would be more like:
Update:
Note that this answer only applies to Ubuntu 11.10! More recent Ubuntus will probably remove useful software with the
apt remove
command, so be sure to check what is being removed and if needed "cherrypick" packages insynaptic
or similar.