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)
commit280e6359d36c9bc8dcded302f15c3a1db8e3feeb
treeedd16ea2c9897acd445471828c3954c8e3a42208
parent1fb293732ed65deba6958000a9f6de7900e21f5c
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 :)
source/Makefile.in
source/include/local.h
source/include/proto.h
source/libsmb/namequery.c
source/libsmb/nmblib.c
source/locking/locking.c
source/nmbd/nmbd.c
source/nmbd/nmbd_packets.c
source/utils/nmblookup.c
source/web/diagnose.c