diff options
author | Michael Adam <obnox@samba.org> | 2015-06-30 14:16:19 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2015-07-07 14:05:27 +0200 |
commit | 204cbe3645c59b43175beeadad792b4a00e80da3 (patch) | |
tree | f470ffd4fbe0a5d20f145a03d218eae127f0ce86 /source4/smb_server | |
parent | 8fec35994c8b880c681f14291194763759e1c24d (diff) | |
download | samba-204cbe3645c59b43175beeadad792b4a00e80da3.tar.gz |
Introduce setting "desired" for 'smb encrypt' and 'client/server signing'
This should trigger the behaviour where the server requires
signing when the client supports it, but does not reject
clients that don't support it.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11372
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/smb2/negprot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/smb2/negprot.c b/source4/smb_server/smb2/negprot.c index 81f2547a8e0..b48b1700bf0 100644 --- a/source4/smb_server/smb2/negprot.c +++ b/source4/smb_server/smb2/negprot.c @@ -150,6 +150,7 @@ static NTSTATUS smb2srv_negprot_backend(struct smb2srv_request *req, struct smb2 case SMB_SIGNING_OFF: io->out.security_mode = 0; break; + case SMB_SIGNING_DESIRED: case SMB_SIGNING_IF_REQUIRED: io->out.security_mode = SMB2_NEGOTIATE_SIGNING_ENABLED; break; |