[Bug 270395] [NEW] cannot resolve windows host name

Launchpad Bug Tracker 270395 at bugs.launchpad.net
Sun Sep 21 18:16:22 BST 2008


You have been subscribed to a public bug:

Ubuntu 8.04.1 AMD64

Linux set 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008 x86_64 GNU/Linux
Samba 3.0.28a-1ubuntu4.5

Binary hint samba

I cannot resolve Windws host names for other computers on my LAN.

ping <host>

where <host> is a Windows computer name fails.

To fix this I had to:

1) Install winbind

2) manually edit /etc/samba/smb.conf:

#======================= Global Settings =======================

[global]

   name resolve order = lmhosts bcast wins host


3) manually edit /etc/nsswitch.conf

hosts:          files dns wins


Since this is an easy fix and since this is definitely an essential feature, can't these settings be used by default?

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: 8.04.1 hardy nsswitch samba
-- 
cannot resolve windows host name
https://bugs.edge.launchpad.net/bugs/270395
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list