Testparm fails

Benjamin Scott bscott at hamptonsys.com
Tue May 25 18:12:55 GMT 1999


On Mon, 24 May 1999, Tom Brown wrote:
> server# testparm
> Load smb config files from /usr/local/etc/smb.conf
> Get_Hostbyname: Unknown host server.tutor.com
> Failed to get my hostname.
> server#

  testparm attempted to resolve your server's hostname ("server.tutor.com") to
a numeric IP address (e.g., "192.168.10.1"), and failed.

  Check your:

- DNS configuration (if you use it)
- NIS configuration (if you use it)
- /etc/hosts file (local mappings of IP names to addresses)
- /usr/local/etc/lmhosts file (local mappings of SMB names to addresses)

  Even if your server is not registered in the DNS, it should have an entry
for its SMB name in the lmhosts file at a minimum.  This lets Samba match its
SMB host name to an actual IP address.

  Hope this helps!

----------------------------------------------------------------------
Benjamin Scott <bscott at hamptonsys.com>          Phone: (603)431-7315
Hampton Systems Group, Inc.                     Fax  : (603)431-0822
http://www.hamptonsys.com                       DSN  : 852-3581
======================================================================



More information about the samba mailing list