[PATCH CIFS] use CryptoAPI MD4/MD5

Michael B Allen mba2000 at ioplex.com
Fri Oct 3 10:18:25 GMT 2003


> The problem is that the mids don't necessarily increase by one so it is
> hard to tell which request came first - and especially hard to block
> waiting for them if requests are signed out of order and one is delayed.
> I might need to move allocation of the mid number to inside the semaphore
> which may need to be grabbed around the call to sign the smb and the call
> to send the SMB (but not around all of SendReceive as an earlier
> suggestion
> - since that could block for more than 20 seconds)

What do mids have to do with signing? Do you mean sequence numbers? Or to
get the sequence number you need the "midQ" and to get the "midQ" you need
the mid? I think I just missed something... :)

Mike

-- 
A program should be written to  model the concepts of the task it
performs rather than the physical world or a process because this
maximizes the  potential for it  to be applied  to tasks that are
conceptually similar and, more  important, to tasks that have not
yet been conceived.



More information about the samba-technical mailing list