Testing Your Configuration
After creating the configuration file, you should test it for correctness. Start by making sure the client and server can ping each other's IP address. Without a functioning network, Samba will not work.
Next, use the testparm program. testparm is a simple test program that checks the /etc/samba/smb.conf configuration file for internal correctness. If this program reports no problems, you can use the configuration file with confidence that smbd will successfully load the configuration file.
Caution
Using testparm is not a guarantee that the services specified in the configuration file will be available or will operate as expected. This kind of testing guarantees only that Samba is able to read and understand the configuration ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access