имена для самбы задаются в конфиге самбы, как ни странно )
[global]
netbios name = comp1
workgroup = IERODROM
server string = %h server
man smb.conf сказал следующее:
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. If a machine is a browse server or logon server this name (or the first component of the hosts DNS name) will be the name
that these services are advertised under.
There is a bug in Samba-3 that breaks operation of browsing and access to shares if the netbios name is set to the literal name
PIPE. To avoid this problem, do not name your Samba-3 server PIPE.
Default: netbios name = # machine DNS name
Example: netbios name = MYNAME
server string (G)
This controls what string will show up in the printer comment box in print manager and next to the IPC connection in net view.
It can be any string that you wish to show to your users.
It also sets what will appear in browse lists next to the machine name.
A %v will be replaced with the Samba version number.
A %h will be replaced with the hostname.
Default: server string = Samba %v
Example: server string = University of GNUs Samba Server
workgroup (G)
This controls what workgroup your server will appear to be in when queried by clients. Note that this parameter also controls
the Domain name used with the security = domain setting.
Default: workgroup = WORKGROUP
Example: workgroup = MYGROUP