CVS update: samba/source/nmbd
Andrew Tridgell
tridge at samba.anu.edu.au
Mon Jan 3 17:30:24 EST 2000
Date: Monday January 3, 19100 @ 17:30
Author: tridge
Update of /data/cvs/samba/source/nmbd
In directory samba:/tmp/cvs-serv18854
Modified Files:
nmbd_packets.c
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