[Samba] I can't ping NT workstation

Iago Sineiro isineiro at iespana.es
Fri Jul 4 06:09:55 GMT 2003


Thanks.

It works editing file nsswitch.conf.

Editing host.conf is not necessary, really wins is not permitted in order
from host.conf. If you add it when you do a ping it says:

/etc/host.conf: line 1: expected service, found `wins,hosts,bind'

Iago

-----Mensaje original-----
De: samba-bounces+isineiro=iespana.es at lists.samba.org
[mailto:samba-bounces+isineiro=iespana.es at lists.samba.org]En nombre de
David Morel
Enviado el: jueves, 03 de julio de 2003 16:57
Para: Vizitiu, Ciprian
CC: Samba MailList
Asunto: RE: [Samba] I can't ping NT workstation


Le jeu 03/07/2003 à 16:07, Vizitiu, Ciprian a écrit :
> > When I execute a nmblookup command to find the NT server by
> > the name it works. But it doesn't work with ping command. Is
> > neccesary anything more?
>
> AFAIK ping uses a different resolver than samba suite. It works the other
> way around that is a NT box is "aware" of both WINS and DNS name spaces
but
> ping on UNIX is not.
>
> Or is there anything that you can put in nsswitch.conf? :-| I doubt...

it does :-) IIRC you have to put 'wins files dns' in nsswitch.conf
and maybe the correct resolv order in host.conf ( wins first )
of course you have to have libnss_wins.so in /lib
Er... was that a bit short ?
--
***********************************************
david.morel at amakuru.net
OpenPGP public key: http://www.amakuru.net/dmorel.asc
28192ef126bc871757cb7d97f4a44536







More information about the samba mailing list