For some reason macOS won't obey my preferences for host name. If I set my computer name to
whatiwant, then change the NETBIOS name to
whatiwant and workgroup name to
workgroup under WINS configuration in Network settings, when I go to Sharing in System Preferences, I see:
Other users can access shared folders on this computer, and administrators all volumes, at smb://new-host-4.workgroup.
I don't know where else I need to change the host name to stop making it use
I tried rebooting, but that didn't fix the problem.
This is a MacBook Pro, connecting to a home network and being assigned an IP address via DHCP on a typical broadband router. Here's the DHCP config. Perhaps the issue is related to the highlighted checkbox.
I tried renewing my DHCP lease but that didn't change the SMB hostname.