Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2008 09:25:24 -0800
From:      Jeremy Chadwick <koitsu@freebsd.org>
To:        gvm999 <gvm999@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Netbios name resolving for ping and other software (rdesktop,..)
Message-ID:  <20080218172524.GA6302@eos.sc1.parodius.com>
In-Reply-To: <a1ed72c0802180853vf9bc745m686ebdd55e252e74@mail.gmail.com>
References:  <a1ed72c0802180853vf9bc745m686ebdd55e252e74@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 18, 2008 at 05:53:42PM +0100, gvm999 wrote:
> I want to be able to resolve Netbios names without the use of /etc/hosts nor
> a DNS server.
> 
> However I cant get it to work.
> ...
> Cat /etc/nsswitch.conf
> 
> hosts: files wins winbind bcast dns

This won't work, because FreeBSD does not understand source types
"wins", "winbind", nor "bcast".  See the nsswitch.conf manpage for
details regarding what sources are actually accepted.

Sounds like Linux has this capability, which is why it works there.

-- 
| Jeremy Chadwick                                    jdc at parodius.com |
| Parodius Networking                           http://www.parodius.com/ |
| UNIX Systems Administrator                      Mountain View, CA, USA |
| Making life hard for others since 1977.                  PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080218172524.GA6302>