testparm command can be used to check your
/etc/samba/smb.conf file for errors. From a shell prompt type:
/etc/samba/smb.conf is the path to the samba configuration file you wish to test. A typical output would look like this:
[root]# testparm /etc/samba/smb.conf Load smb...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.