[Samba] WINS replications
Bruno Guerreiro
bruno.guerreiro at ine.pt
Wed May 10 07:53:46 GMT 2006
Hi,
I've noticed that if I remove the "socket address = 172.19.255.255" and the issue a recursive unicast nmblookup it works.
In fact from the nmblookup man page
-R Set the recursion desired bit in the packet to do a recursive lookup. This is used when sending a name query to a machine running a WINS server and the user wishes to query the names in the WINS server. If this bit is unset the normal (broadcast responding) NetBIOS processing code on a machine is used instead. See RFC1001, RFC1002 for details.
[root at hor-lnx01 ~]# nmblookup -U wins-hor -R hor-lnx01
added interface ip=172.19.5.1 bcast=172.19.255.255 nmask=255.255.0.0
Socket opened.
querying hor-lnx01 on 172.19.5.2
Got a positive name query response from 172.19.5.2 ( 172.19.5.1 )
172.19.5.1 hor-lnx01<00>
[root at hor-lnx01 ~]#
Finally got a wins replication + dns dynamic update working like a charm :-)
Best regards,
Bruno Guerreiro
> -----Original Message-----
> From: Gémes Géza [mailto:geza at kzsdabas.sulinet.hu]
> Sent: terça-feira, 9 de Maio de 2006 17:57
> To: Bruno Guerreiro
> Cc: samba
> Subject: Re: [Samba] WINS replications
>
> I have a similar setup (different ip's) and I've found out,
> that nmblookup works for any box, except from the
> samba+samba4wins box itself. Unfortunately I have no idea why.
>
> Cheers,
>
> Geza
>
>
More information about the samba
mailing list