s3:smb2_server: use the global signing key to check if signing is required
authorStefan Metzmacher <metze@samba.org>
Thu, 12 Jun 2014 13:10:11 +0000 (15:10 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 19 Sep 2014 07:15:10 +0000 (09:15 +0200)
commit7e006d11134cdc37ea0fc13110fe5bbfb9de3f14
treefc485b57edcd440c549924371f7f6f4defd31172
parent17f87297cd51b0910c3f1b26258ca0ec828a1ced
s3:smb2_server: use the global signing key to check if signing is required

If we have a channel session key, we also always have a global session key.

For multi-channel it's possible that the channel session key is not in place
yet, in that case the global session key needs to be used.

In both cases (reauth or session bind) we session setup requests need to be
signed.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/smb2_server.c