300-300 無料問題集「Lpi LPIC-3 Exam 300: Mixed Environments, version 3.0」
FILL BLANK
What command checks the Samba configuration file for syntactical correctness? (Specify ONLY the command without any path or parameters.)
What command checks the Samba configuration file for syntactical correctness? (Specify ONLY the command without any path or parameters.)
正解:
testparm
Explanation:
Purpose of the Command: testparm is used to check the Samba configuration file (smb.conf) for syntax errors.
Command
Running testparm will read the smb.conf file, parse it, and display any syntax errors or warnings. This helps ensure that the configuration is valid before restarting the Samba service.
Usage Example:
Simply execute testparm in the terminal, and it will automatically check the default configuration file.
Reference:
Samba.org - testparm
Explanation:
Purpose of the Command: testparm is used to check the Samba configuration file (smb.conf) for syntax errors.
Command
Running testparm will read the smb.conf file, parse it, and display any syntax errors or warnings. This helps ensure that the configuration is valid before restarting the Samba service.
Usage Example:
Simply execute testparm in the terminal, and it will automatically check the default configuration file.
Reference:
Samba.org - testparm
FILL BLANK
Which sub command of net groups commands related to an AD membership, as in the following example? (Specify ONLY the subcommand without any path or parameters.) net ___ join
Which sub command of net groups commands related to an AD membership, as in the following example? (Specify ONLY the subcommand without any path or parameters.) net ___ join
正解:
ads
Explanation:
The net command is used to administer Samba and Windows servers. The subcommand ads is used in conjunction with the join command to join a Samba server to an Active Directory domain. The correct subcommand that fits the pattern net ___ join is ads.
Reference:
Samba net command man page
Explanation:
The net command is used to administer Samba and Windows servers. The subcommand ads is used in conjunction with the join command to join a Samba server to an Active Directory domain. The correct subcommand that fits the pattern net ___ join is ads.
Reference:
Samba net command man page