Am Mit, 2002-10-30 um 20.25 schrieb Alexandre Julliard: > Because users are not going to edit the registry if their Unix > hostname changes so it will always be wrong. Now if the problem is the > FQDN then it should be trivial to truncate it to just the hostname.
Sorry, how many machines are out there that change their host name on a regular basis, so that the registry name would "always" be wrong ? The way Samba does this is IMO reasonable: "netbios name (G) - This sets the NetBIOS name by which a Samba server is known. By default it is the same as the first component of the host's DNS name." I'd propose: If the registry contains an explicit ComputerName entry, use it as Netbios name; otherwise, use the Unix hostname. This would affect only the users that enter a Netbios name in their registry, and thus not those with changing host names that you're worried about. Martin -- Martin Wilck Phone: +49 5251 8 15113 Fujitsu Siemens Computers Fax: +49 5251 8 20409 Heinz-Nixdorf-Ring 1 mailto:Martin.Wilck@;Fujitsu-Siemens.com D-33106 Paderborn http://www.fujitsu-siemens.com/primergy