Which of the following commands should be run to verify that the configuration is correct?

A Samba server is not functioning properly. Which of the following commands should be run to verify that the configuration is correct?

A Samba server is not functioning properly. Which of the following commands should be run to verify that the configuration is correct?

A.
smbcheck

B.
testparm

C.
smbd –check

D.
chkconfig samba



Leave a Reply 2

Your email address will not be published. Required fields are marked *


peanuttech

peanuttech

B testparm

testparm is a very simple test program to check an smbd(8) configura-
tion file for internal correctness. If this program reports no prob-
lems, you can use the configuration file with confidence that smbd
will successfully load the configuration file.

source: http://linuxcommand.org/man_pages/testparm1.html

seenagape

seenagape

Correct answer is B