300-300 · Question #23
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?
The correct answer is A. log file = /var/log/samba/log.%m. Individual Log Files: 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…
Question
Options
- Alog file = /var/log/samba/log.%m
- Blog file = /var/log/samba/log.%M
- Clog file = /var/log/samba/log.%r
- Dlog file = /var/log/samba/log.%I
- Elog file = /var/log/samba/log.%c
How the community answered
(28 responses)- A89% (25)
- D7% (2)
- E4% (1)
Explanation
Individual Log Files: 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.
Topics
Community Discussion
No community discussion yet for this question.