Fixed bug that John found in WINS server code. When nmbd as a WINS
authorJeremy Allison <jra@samba.org>
Mon, 20 Apr 1998 20:32:50 +0000 (20:32 +0000)
committerJeremy Allison <jra@samba.org>
Mon, 20 Apr 1998 20:32:50 +0000 (20:32 +0000)
commitec6fde99ab739ff2c410e5459bba06b06d18b5dc
treeec5b68a3b311a97c61f6396d7532095c3082c153
parent6733e2b36e00ccbe8df363651ecc98ba42d53cee
Fixed bug that John found in WINS server code. When nmbd as a WINS
server is sending out a name_query after a WACK, it needs to send
a packet with recursion_desired = 0 (yes Luke, you were right all
along :-). If it doesn't then if it's talking to itself then the
query packet ends up back in the WINS server instead of in the client
side code.
Makefile: Changed proto generation to stop including NMBDOBJ twice.
nmbd_namequery.c nmbd_packets.c nmbd_winsserver.c: Added extra
query_name_from_wins_server() code.

Jeremy.
(This used to be commit c5ca05c29546053a771f4ea3ef850efb3be970ea)
source3/include/proto.h
source3/nmbd/nmbd_namequery.c
source3/nmbd/nmbd_packets.c
source3/nmbd/nmbd_winsserver.c