6 Starting and stopping the Samba server

To start and stop the Samba server, you can use the script in /etc/init.d. The following command stops the Samba server:

/etc/init.d/samba stop

Instead of specifying stop, you can also specify restart and start to reset a running server or start the server after it is stopped.

If you change the configuration file, you will need to restart the Samba server for the changes to take into effect.