s3:smb2_server: use the global signing key to check if signing is required
commit7aacb3cc5c877f26db0539791b9750389caa1fe1
authorStefan Metzmacher <metze@samba.org>
Thu, 12 Jun 2014 13:10:11 +0000 (12 15:10 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 18 Dec 2014 19:50:08 +0000 (18 20:50 +0100)
treecb24d0afb98b01edce36706f4c19834aa92919d5
parentb1ecde9c9a1a7279d2f68cf970f374846ff6d45e
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