CVS update: samba/source/include

Luke Kenneth Casson Leighton lkcl at samba.org
Mon Jan 3 21:11:46 EST 2000


andrew, are you generating a "unique" mailslot name?  nt uses
\SRVNAME\MAILSLOT\GETDC\nnn wheree nnn is some suitable function's
num.ber.  this guarantees that a particular function will always receive
its own mailslots.

On Mon, 3 Jan 2000, Andrew Tridgell wrote:

> 
> 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