r5276: - added support for NBT_OPCODE_REFRESH2 (type 0x9)
authorAndrew Tridgell <tridge@samba.org>
Tue, 8 Feb 2005 01:09:21 +0000 (01:09 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:36 +0000 (13:09 -0500)
commit998c856d9005cd8e1111a939db6fa7b25196b766
treecc562247c591a12fbad4d9fce76c7e816636d511
parent2513ac33de03e4c92f6d4a10595db44700971bb8
r5276: - added support for NBT_OPCODE_REFRESH2 (type 0x9)

- when registering with a WINS server, initially use multi-homed
  registration, then switch to name refresh requests. Send refresh
  requests only to the WINS server that responded to our
  registration. If that server goes away, then start the registration
  from scratch. This makes registration more robust to WINS server
  failure.

- send WINS registration requests out on our first interface rather
  than an unbound interface, to avoid the problem of WACK replies
  being sent to the wrong port (w2k3 WINS server does this)
(This used to be commit f7712ac7468184c07b3e3c10cb7b847ad1791dd2)
source4/nbt_server/interfaces.c
source4/nbt_server/packet.c
source4/nbt_server/query.c
source4/nbt_server/register.c
source4/nbt_server/winsclient.c