I accidentally deleted my samba configuration setup. And I don't know how remove samba and reinstall the package. It errors. Please can someone help me with this? It our home file server.

  • We can't know how your configuration was set up. If you want help on the reinstall, edit your post and add the exact commands you input and the exact output you received. Do not post this information in comments. – Organic Marble Jan 8 '19 at 4:38

If you want to remove and install samba again (and than configure smbd server) Try the following:

sudo apt-get purge samba samba-common
sudo rm -rf /etc/samba/ /etc/default/samba
sudo apt-get install samba
| improve this answer | |
  • Thank you for that, but I redid everything back to zero. – Kim Alfred Kotico Jan 8 '19 at 9:43

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.