Originally Posted by ethics
It's always been the first one on multiple distros i've tried.
Don't forget to restart the service once you have made changes, there is also some sort of testing program to make sure its ok i think
Even same on OpenBSD.
The testprogram to check the syntax of the edited smb.conf I believe is "testparm".
Just write "testparm" and see if there are any warnings.