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
2 Comments on “Which of the following commands should be run to verify that the configuration is correct?”
peanuttechsays:
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.
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
0
0
Correct answer is B
0
0