Despite using the configuration below, the log files do not contain the host name. ``` [global] log file = /var/samba4/cu/log/smbd-%M-%I.log ``` From the manual. ``` %M the Internet name of the client machine. ``` (The last part of the IP address is obfuscated by me.) ``` $ ls /var/samba4/cu/log/smbd-141.14.x.x-141.14.x.x.log /var/samba4/cu/log/smbd-141.14.x.x-141.14.x.x.log ``` Also `smbstatus` doesn’t show the hostname. ``` $ sudo smbstatus Samba version 4.6.5 PID Username Group Machine Protocol Version Encryption Signing ---------------------------------------------------------------------------------------------------------------------------------------- 29570 joey joey 141.14.x.x (ipv4:141.14.x.x:60454) SMB2_10 - - ```