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.%m: To generate an individual log file for each machine connecting to a Samba server, the%mvariable is used in the log file path. Thisvariable represents the machine name of the connecting client. Thus, the configuration linelog file = /var/log/samba/log.%mcreates a unique log file for each client machine.
References:
Sambasmb.confmanual
Logging configurations in Samba
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit