On 2 September 2013 20:30, Bjørn Forsman <[email protected]> wrote: > Hi everyone, > > In Ubuntu I can install libnss-winbind + winbind and append "wins" to > the "hosts:" section in /etc/nsswitch.conf to have NetBIOS/WINS name > lookup (Windows machine names). But when I try to do "the same" for > NixOS, it doesn't work: > > $ ping windows-pc > ping: unknown host windows-pc > > I've already made the samba package install libnss_winbind.so and > libnss_wins.so (in git master), but I don't think they are picked up.
Answering myself. This is actually documented in nsswitch.conf(5) man page. Glibc >= 2.1 looks for libnss_<service>.so.2, not libnss_<service>.so. I updated samba (locally) and now NetBIOS name lookup works! I'll push it after a bit more testing. Best regards, Bjørn Forsman _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
