I found out that netbios name resolution doesn work after emerge of samba 3.0.8. # ping virge ping: unknown host virge even though my /etc/nsswitch.conf hasnt changed, # grep wins /etc/nsswitch.conf hosts: files wins dns a quick check by way of, # ls /lib/ | grep libnss libnss_compat-2.3.4.so libnss_compat.so.2 libnss_dns-2.3.4.so libnss_dns.so.2 libnss_files-2.3.4.so libnss_files.so.2 libnss_hesiod-2.3.4.so libnss_hesiod.so.2 libnss_nis-2.3.4.so libnss_nis.so.2 libnss_nisplus-2.3.4.so libnss_nisplus.so.2 A package search only finds a broken link, # equery files samba | grep libnss /lib/libnss_wins.so.2 -> libnss_wins.so A quick check via - # ebuild /path/to/samba-3.0.8.ebuild install doesnt show the file in the image/lib directory Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ http://mirror.cpsc.ucalgary.ca/mirror/gentoo.org" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa avi berkdb bitmap-fonts cdr cjk crypt cups encode esd f77 fam flac foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imagemagick imlib java jpeg ldap libg++ libwww mad mikmod mmx mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell sse ssl tcpd tiff truetype x86 xml xml2 xmms xv zlib"
may be it comes with "winbind" USE flag? My box is too slow to test.
That seems to work. I recompiled with the winbind use flag and the file is now there. Isn't wins resolution supposed to be independent of winbind even though they may be related? If my memory serves me right, it precedes winbind.
the winbind use flag was introduced not so long time ago, so this would explain the change of usage. As it's working, i'm closing the bug, feel free to re-open if you have any more problems.