r16665: Fix a couple of bugs I discovered now I've looked
authorJeremy Allison <jra@samba.org>
Thu, 29 Jun 2006 00:48:44 +0000 (00:48 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:19:07 +0000 (11:19 -0500)
commitd88926f6b4c11ba60200d7a7574b14fd04ab8a8f
treecce56df5c1aaa4a4251a87a1dd089d8d30cbdbe2
parent124cd3c6043900be696148bb3c416f8c7c098cc9
r16665: Fix a couple of bugs I discovered now I've looked
closer at the wins server code. Firstly, it needs
to do the searches on the SELF_NAMES correctly,
secondly it needs to flush the in-memory cache
out before returning the 1b names - else it might
get duplicates returned if many 1b queries are
done in quick succession. Jerry, I hate to say
this but you might want to consider this for 3.0.23....
Jeremy.
(This used to be commit b36b9befbbc4ac318168b7788d3722710ecbf10f)
source3/nmbd/nmbd_namelistdb.c
source3/nmbd/nmbd_winsserver.c