diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-01-03 06:30:50 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-01-03 06:30:50 +0000 |
commit | 32f66f4ea63038cb4b3785bdf1762abdde076f5d (patch) | |
tree | 0c4e995fcc87612b3f3f6cbaaf82b66f48c7db54 /source/lib/util.c | |
parent | 8767334d8a44db5cb8abf084d185dae6e32db062 (diff) | |
download | samba-32f66f4ea63038cb4b3785bdf1762abdde076f5d.tar.gz samba-32f66f4ea63038cb4b3785bdf1762abdde076f5d.tar.xz samba-32f66f4ea63038cb4b3785bdf1762abdde076f5d.zip |
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.
Diffstat (limited to 'source/lib/util.c')
0 files changed, 0 insertions, 0 deletions