Restarting the Samba server – here’s how

by Pramith

If you want to apply changes to the Samba server or if the server is causing problems, you can restart it at any time. We’ll show you how.

Guide: Restarting the Samba server

  • Changes to the configuration file are automatically detected by the Samba server every 90 seconds. You can restart the server directly using the command “sudo service smbd restart”.
  • If you are using older versions of Ubuntu and similar distributions, different commands are required. Try using “sudo /etc/init.d/smbd restart” or “sudo initctl restart smbd”.
  • As an alternative to restarting, you can also stop the Samba server and start it manually. To do this, use the command “sudo service smbd start” followed by “sudo service smbd stop”.

Related Articles

Leave a Comment