8

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. >:(

11

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.