If grabbing the netbios name from the config file fails, a unique one is
generated. Since this name contains the PID, it is quite unique and if it
registers with WINS each time coupled with high usage, the WINS server will fill
up needlessly. Replace PID with the hostname fixes this.
Created attachment 909 [details]
replaces PID with hostname
Probably a better way to do this, but it illustrates my point.
If there is no config file, initialization already uses the hostname as the
global "myname" value. global_myname() will return the hostname, converted to
upper case. Only in the very rare case where the host name could not be
determined or an error occurred, would the PID and username be used to generate
a netbios name.
Unless I'm missing something, this seems to be a non-issue. Re-open this bug if
you are experiencing something different than I described.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.