[Samba] Re: netbios name resolution inside linux via samba?

Lukasz Szybalski szybalski at gmail.com
Fri Feb 15 16:10:38 GMT 2008


Actually I found the solution and posted it here. Install winbind and
add wins to nsswitch.conf hosts line.

http://lucasmanual.com/mywiki/SambaDomainController#head-8ae23b786749b4d46ef0e9ed22148e63eeab95e7

" Every pc can ping each other using the netbios name which coresponds
to ip address.
 In windows ping netbios names is working ping mycomputer2 will ping
the ip behind the name mycomputer2
 You are able to ping a pc that is on dhcp.
 This will enable same feature in linux
  enable linux pcs to ping netbios names"


On Fri, Feb 15, 2008 at 9:04 AM, Lukasz Szybalski <szybalski at gmail.com> wrote:
> Hello,
>  I have setup up samba on my pc and everything is working great. I
>  setup my writable shared folders I can view other servers/pcs on the
>  network using gnome but sometimes I need to debug some networking
>  issues and I would like to for example:
>
>  ping myserver4
>  ping: unknown host myserver4
>
>  Is there a way to setup up linux to use samba for name resolution?
>  The only way I know right now is to add myserver4 to /etc/hosts, but
>  since there is 70 computer on a network is there an easier way?
>  Automatically add all of them to /etc/hosts? or setup linux to use
>  samba name resolution tools ? or?
>
>  OS: Debian Stable
>  setup: http://lucasmanual.com/mywiki/SambaDomainController
>
>  Thanks.
>  Lucas
>



-- 
Vehicle Information Number. Check for Authentic VIN
http://lucasmanual.com/vin
TurboGears Documentation:
http://www.lucasmanual.com/mywiki/TurboGears


More information about the samba mailing list