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)
committerKarolin Seeger <kseeger@samba.org>
Thu, 18 Dec 2014 20:30:06 +0000 (21:30 +0100)
commita7bee718e69db2b0dbfa24ad3ba705ce59cb77de
tree512bd25da0c4ce42cc4efb7c7224fc1fbf1d8342
parentcc66e97d14116995ecc6a862de6fe91c8f89a83f
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>
(cherry picked from commit 7e006d11134cdc37ea0fc13110fe5bbfb9de3f14)
source3/smbd/smb2_server.c