added the unexpected packet database (unexpected.tdb)
authorAndrew Tridgell <tridge@samba.org>
Mon, 3 Jan 2000 03:17:16 +0000 (03:17 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 3 Jan 2000 03:17:16 +0000 (03:17 +0000)
commit574788039f53fada4769731ea3fafe9710417b71
tree98e454727d3fe01fc12b921cb7b3fe0b9e2ce8ad
parentc0ad729de6a09cb6334f49ca31d606c215f30632
added the unexpected packet database (unexpected.tdb)
this means "nmblookup -S" now always works, even with broken servers
the database stores all unexpected replies and these can be accessed
by any client.
while doing this I cleaned up a couple of functions, and put in place
a better trn_id generator. in most places the code got quite a bit
simpler due to the addition of simple helper functions.

I haven't yet put the code in to take advantage of this for pdc
replies - that will be next. Jeremys pdc finding code will then work :)
(This used to be commit 280e6359d36c9bc8dcded302f15c3a1db8e3feeb)
source3/Makefile.in
source3/include/local.h
source3/include/proto.h
source3/libsmb/namequery.c
source3/libsmb/nmblib.c
source3/locking/locking.c
source3/nmbd/nmbd.c
source3/nmbd/nmbd_packets.c
source3/utils/nmblookup.c
source3/web/diagnose.c