Since no one can help me with sharing files from Samba, how can I reset it to the defaults and delete any residual configurations from previous releases? Then, presumably, the GUI sharing would work after I reinstall samba. I tried using dpkg reconfigure samba, but it made things even worse, and now my ubuntu computer's hostname stopped existing. >:(
Asked
Active
Viewed 4.7k times
1 Answers
17
Try the following:
sudo apt-get purge samba samba-common
sudo rm -rf /etc/samba/ /etc/default/samba
sudo apt-get install samba
If you still have problems please provide more details.

João Pinto
- 17,159
-
2This worked, thanks. I removed samba-common, too. Not sure if that was necessary, though. – endolith Jan 15 '11 at 17:56
-
1You do indeed need to purge and reinstall samba-common aswell just samba is not enough – Dave Butler May 14 '14 at 16:55