/etc/hostname contains the host name. The name you see when browsing samba shares is the samba server name, which is set in smb.conf (probably in /etc or /etc/samba). You can either set it manually (edit the line beginning 'server string = xxxx') or by using a samba configuration tool (e.g. swat).
|