Hostname problem

Steve Lhomme s.lhomme at
Sun Feb 11 18:39:15 GMT 2001

Thanx !

I've tried that (netbios name = s098) but it doesn't work... It still say the same :(

"Get_Hostbyname: Unknown host s098"

The problem is that when I do an nslookup s098 (and not nmblookup) it cannot find it. Probably because the real name "" is too complicated. And that's why I'd like to change (like forcing samba to use localhost or something else), but "netbios name = s098" doesn't work.

----- Original Message ----- 
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at>
To: "'Steve Lhomme'" <s.lhomme at>; <samba at>
Sent: Sunday, February 11, 2001 7:24 PM
Subject: RE: Hostname problem

| Steve,
| Look at the man page for smb.conf - there is a global parameter called
| "netbios name=" that you can specify your netbios name that you want your
| samba server to be known as.  Note that if this name is not the same as your
| host name, that any clients not on the same subnet as the server will have
| to have a method of resolving this name to the ip address of your samba
| machine.  This could be via lmhosts file, wins or dns server.
| Good luck,
| Don
| -----Original Message-----
| From: Steve Lhomme [mailto:s.lhomme at]
| Sent: Sunday, February 11, 2001 12:55
| To: samba at
| Subject: Hostname problem
| Hi,
| I just installed Samba (latest RPM for Mandrake 7.2) on my linux box.
| It was working fine until I rebooted...
| The problem is that when I start it, it says "Get_Hostbyname: Unknown host
| s098".
| s098 is my hostname, but not the full. I get this name from a DHCP server.
| The full name is
| How can I avoid Samba to use this name (and use a fixed one I could create)
| ???
| thanx in advance
| PS: I've looked at the archives but it takes to long, there is no search
| engines :/

More information about the samba mailing list