Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

Try the following:

sudo apt-get purge samba
sudo rm -rf /etc/samba/ /etc/default/samba
sudo apt-get install samba

If you still have problems please provide more details.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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