summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb2/negprot.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-06-09 21:45:19 +0200
committerStefan Metzmacher <metze@samba.org>2008-07-28 14:09:45 +0200
commit8623e2cc4ca3b7fefcdc943c1da8a89b805f5d29 (patch)
tree7127d1be75bf922dfb0cd920dd532beda3269e7e /source4/smb_server/smb2/negprot.c
parent35bd7a6378cc25ed6b24d153c3cf1557d6126788 (diff)
downloadsamba-8623e2cc4ca3b7fefcdc943c1da8a89b805f5d29.tar.gz
samba-8623e2cc4ca3b7fefcdc943c1da8a89b805f5d29.tar.bz2
samba-8623e2cc4ca3b7fefcdc943c1da8a89b805f5d29.zip
smb2srv: correctly hold the signing state per session
metze (This used to be commit 5b3ba3f3556e8031133128853cd2324ee3852aa1)
Diffstat (limited to 'source4/smb_server/smb2/negprot.c')
-rw-r--r--source4/smb_server/smb2/negprot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb2/negprot.c b/source4/smb_server/smb2/negprot.c
index 3e6e2e1a43..d64b36d659 100644
--- a/source4/smb_server/smb2/negprot.c
+++ b/source4/smb_server/smb2/negprot.c
@@ -122,7 +122,7 @@ static NTSTATUS smb2srv_negprot_backend(struct smb2srv_request *req, struct smb2
case SMB_SIGNING_REQUIRED:
io->out.security_mode = SMB2_NEGOTIATE_SIGNING_ENABLED | SMB2_NEGOTIATE_SIGNING_REQUIRED;
/* force signing on immediately */
- req->smb_conn->doing_signing = true;
+ req->smb_conn->smb2_signing_required = true;
break;
}
io->out.dialect_revision = SMB2_DIALECT_REVISION;