CVS update: samba/source/libsmb

Luke Leighton lkcl at
Sun Dec 5 10:40:21 EST 1999

Date:	Sunday December 5, 1999 @ 10:40
Author:	lkcl

Update of /data/cvs/samba/source/libsmb
In directory samba:/tmp/cvs-serv24468/libsmb

Modified Files:
	namequery.c nmblib.c 
Log Message:
argh!  how horrible!  spent ages working out why packets weren't being
received properly when a UDP "retry" occurs.  it's because reads and
writes must be interleaved / matched.


nmblookup connects to agent, sends request.

agent receives request, broadcasts it on 137.

agent RECEIVES 137 broadcast, sends it to nmblookup

agent receives RESPONSE to 137 broadcast, sends it to nmblookup.

if reads are not equally interspersed with writes, then second send
will fail.

if you think this is odd behaviour and that the agent should be filtering
its own UDP traffic, think again.

agent will be, potentially, redirecting nmbd traffic (including WINS
server) not just client programs.

More information about the samba-cvs mailing list