[Samba] Can nmbd dynamically update its host name when the DNS host name changes?

Paul Walrath hp.inc.paul.walrath at gmail.com
Thu Nov 6 11:27:26 MST 2014


If "netbios name" is not specified in smb.conf, nmbd uses gethostname() to
get the host's DNS host name on startup.  If some process changes the host's
DNS host name while nmbd is running, nmbd does not recognize the change. 
nmbd has to be restarted.  Is there currently any way to make nmbd
dynamically update its cached host name, such as polling for changes to
/proc/sys/kernel/hostname?





More information about the samba mailing list