New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 300-300 Topic 1 Question 2 Discussion

Actual exam question for LPI's 300-300 exam
Question #: 2
Topic #: 1
[All 300-300 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?

Show Suggested Answer Hide Answer
Suggested Answer: A

Individual Log Files:

A . log file = /var/log/samba/log.%m: To generate an individual log file for each machine connecting to a Samba server, the %m variable is used in the log file path. This variable represents the machine name of the connecting client. Thus, the configuration line log file = /var/log/samba/log.%m creates a unique log file for each client machine.


Samba smb.conf manual

Logging configurations in Samba

Contribute your Thoughts:

Kimbery
5 months ago
I heard Samba is the latest dance craze sweeping the IT world. Time to log in and boogie down!
upvoted 0 times
...
Blondell
5 months ago
Wait, is this a trick question? What if the answer is actually E. %c for the client machine name? I'm feeling lucky today!
upvoted 0 times
Verdell
5 months ago
No, I believe it's D) log file = /var/log/samba/log.%I
upvoted 0 times
...
Gerry
5 months ago
I think the answer is A) log file = /var/log/samba/log.%m
upvoted 0 times
...
...
Erasmo
6 months ago
D. %I for the machine's IP address? Nah, that's too easy. I'm going with C. %r for the remote machine name.
upvoted 0 times
...
Shanice
6 months ago
Hmm, I was leaning towards B. %M seems more logical since it's the machine's IP address.
upvoted 0 times
Kristel
6 months ago
I agree with User2, %M does seem more logical for individual machine log files.
upvoted 0 times
...
Julianna
6 months ago
I see your point, but I still believe B is the right choice for the machine's IP address.
upvoted 0 times
...
Anthony
6 months ago
I think A is the correct option, %m represents the machine name.
upvoted 0 times
...
...
Kimbery
6 months ago
I think the correct answer is A. %m is the machine name, which makes sense for an individual log file per machine.
upvoted 0 times
Junita
5 months ago
Yeah, %m represents the machine name, so it should generate individual log files for each machine.
upvoted 0 times
...
Latosha
5 months ago
I think the correct answer is A.
upvoted 0 times
...
Jacob
5 months ago
Yeah, that makes sense. Each machine should have its own log file.
upvoted 0 times
...
Lauran
5 months ago
I think the correct answer is A. %m is the machine name, which makes sense for an individual log file per machine.
upvoted 0 times
...
...
Polly
6 months ago
I agree with Raymon. Using %m will generate individual log files for each machine connecting to the Samba server.
upvoted 0 times
...
Raymon
7 months ago
I think the answer is A) log file = /var/log/samba/log.%m because %m is used to represent the machine name.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77