[Bug 270395] Re: cannot resolve windows host name

Tor Sjowall tor at sjowall.org
Sun May 13 07:58:45 UTC 2012


This problem is still unsolved.

The host names of windows PCs are not visible to Linux programs with a regular installation of Samba,
i.e. from Linux 'ping win_pc' does not work, but from windows 'ping linux_pc' does work.

Also, 'nmblookup win_pc' works, while 'nslookup win_pc' does not work.

Installing winbind and changing the nsswitch.conf's host: definition to 'host: files dns wins' fix the problem. 
This is not obvious to a naive user.

I suggest changing the host definition in nsswitch.conf on installation of winbind
I also suggest installing winbind together with Samba

This would improve the user experience when working in a mixed Ubuntu/Windows network environment.
The whole point of the Samba package is to make it possible to work in such a mixed environment.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/270395

Title:
  cannot resolve windows host name

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/270395/+subscriptions



More information about the Ubuntu-server-bugs mailing list