[Bug 370415] Re: libnss_wins always performs a broadcast lookup.

Bug Watch Updater 370415 at bugs.launchpad.net
Mon Jul 17 15:49:55 UTC 2017


** Changed in: samba (Debian)
       Status: New => Fix Released

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

Title:
  libnss_wins always performs a broadcast lookup.

Status in samba package in Ubuntu:
  Triaged
Status in samba package in Debian:
  Fix Released

Bug description:
  Binary package hint: samba

  I'm trying to get my workstation to use our Windows NT4 domain
  lookups, though I don't want to join the domain. To this end, I'm
  setting up WINS lookups.

  I have the "wins server" set to my WINS server's IP address in
  /etc/samba/smb.conf, as well as "name resolve order = wins". I've
  added WINS to the name services

  $ grep wins /etc/nsswitch.conf 
  hosts:          files mdns4_minimal [NOTFOUND=return] wins dns mdns4

  The idea is that names should be checked against the WINS server
  first, and if that fails, they should be tried against DNS. However,
  all DNS lookups are now noticeably slow (around 0.8 seconds), since
  it's performing a broadcast search, which I can see in Wireshark: on a
  successful query, it checks the given WINS server. On an unsuccessful
  query, it checks the given WINS server, then sends three packets to
  the network broadcast address.

  libnss_wins should respect the settings in smb.conf (since it *is*
  reading that file to get the WINS server address), and give up without
  trying time-consuming broadcasts.

  ProblemType: Bug
  Architecture: i386
  DistroRelease: Ubuntu 9.04
  Package: winbind 2:3.3.2-1ubuntu3
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: samba
  Uname: Linux 2.6.28-11-generic i686

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



More information about the foundations-bugs mailing list