[cifs-protocol] Session keys are not always 16 bytes long

Andrew Bartlett abartlet at samba.org
Tue Feb 10 21:44:37 GMT 2009

On Tue, 2009-02-10 at 07:13 -0800, Hongwei Sun wrote:
> Andrew,
>    I am sending you the new windows behavior notes that have been added to MS-SMB with respect to the length of session key used for SMB signing.
> <173> Section Windows SMB clients use entire session key for signing if the session key length is equal to or more than 16, and pad session key with zero up to 16 bytes if session key length is less than 16; Windows SMB servers always use the actual length of the session key for signing.
>    Please let me know if you have any more questions. 

Why is this a windows behaviour note?

It isn't like this is some optional or additional behaviour, or a
non-optimal outcome.  Please ensure this is specified in the main

Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/cifs-protocol/attachments/20090211/3149000d/attachment.bin

More information about the cifs-protocol mailing list