s3:smb2_sesssetup.c: For SMB >= 3.1, derive crypto keys from preauth
authorStefan Metzmacher <metze@samba.org>
Fri, 10 Oct 2014 12:04:25 +0000 (14:04 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 8 May 2015 11:00:28 +0000 (13:00 +0200)
commit4481fea86a95df2abe558b67c31f4c86db75910a
treec15bfb804cd96150db8649ab360147bf4835c236
parent08845ad61641a66f9019a9ae35ff765d9d093ea9
s3:smb2_sesssetup.c: For SMB >= 3.1, derive crypto keys from preauth

This protects the full connection setup including
a posteriori verification of the negotiate messages,
by signing the final session setup response with a signing key
derived from the preauth hash and the authentication session key.

Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
source3/librpc/idl/smbXsrv.idl
source3/smbd/smb2_sesssetup.c
source3/smbd/smbXsrv_session.c