[root tip] [How To] Basic Samba Setup and Troubleshooting

It is impossible to suggest a one-size-fits-all as each and every use case is different.

If samba doesn’t share as expected or stops working it is likely a local issue - it is very rare an upstream issue causes it - but that happens e.g. when SMB1 was disabled and renamed to NT1.

If samba stops working - check your setup

  • find out if something changed upstream
  • do you have apparmor running?
  • do you have selinux running?
  • did you change firewall?

If you cannot get up and running

  • check your smb.conf
    • do not plaster the config with defaults
    • only add what differs from default
    • do not use every suggestion you find on the internet
    • they are usually only valid for the issue you read about
  • check filesystem permissions
  • check your shares
  • check your privileges
  • check your local permissions
  • check server permissions
  • if you are using a router
    • check the service on the router
    • did the firmware autoupdate
    • try rebooting the router
2 Likes