Hi, smb.conf manpage has:
%m the NetBIOS name of the client machine (very useful). This parameter is not available when Samba listens on port 445, as clients no longer send this information. If you use this macro in an include statement on a domain that has a Samba domain controller be sure to set in the [global] section smb ports = 139. This will cause Samba to not listen on port 445 and will permit include functionality to function as it did with Samba 2.x. %M the Internet name of the client machine. So maybe replace %m by %M? (Once buster is released). Also smb.conf proposes: Example: log file = /usr/local/samba/var/log.%m So, what is the correct answer? Regards -- Mathieu Parent