CVS update: samba/source/include

Andrew Tridgell tridge at samba.anu.edu.au
Mon Jan 3 17:29:09 EST 2000


Date:	Monday January 3, 19100 @ 17:29
Author:	tridge

Update of /data/cvs/samba/source/include
In directory samba:/tmp/cvs-serv23147

Modified Files:
	proto.h 
Log Message:
added suppport for unexpected udp/138 packets

I also fixed up the lookup_pdc_name() code so that it now works, even
with a NT server that insists on replying to udp/138. 

The method I used to match packets was to use the mailslot string as a
datagram ID. The true dgm_id doesn't work as NT doesn't set it
correctly. uggh.

PS: Jeremy, I had to change your code quite a bit, are you sure this
worked with a Samba PDC?? The code looked broken, it got the offsets
wrong in the SMB portion of the packet and filled in the IP
incorrectly.



More information about the samba-cvs mailing list