exam questions

Exam 300-100 All Questions

View all questions & answers for the 300-100 exam

Exam 300-100 topic 1 question 5 discussion

Actual exam question from LPI's 300-100
Question #: 5
Topic #: 1
[All 300-100 Questions]

In order to generate an individual log file for each of the machines connecting to a Samba server, which of the following statements must be used in the Samba configuration file?

  • A. log file = /var/log/samba/log.%c
  • B. log file = /var/log/samba/log.%M
  • C. log file = /var/log/samba/log.%m
  • D. log file = /var/log/samba/log.%I
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ricopro
1 month, 1 week ago
Selected Answer: C
Samba allows dynamic log file naming by using variable substitution parameters in the log file directive within smb.conf. The placeholder %m corresponds to the NetBIOS name of the client machine that connects to the Samba server.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...