1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00
Ralph Boehme 6ae63d42f5 s3/smbd: ensure global "smb encrypt = off" is effective for SMB 3.1.1 clients
If encryption is disabled globally, per definition we shouldn't allow
enabling encryption on individual shares.

The behaviour of setting

[Global]
  smb encrypt = off

[share]
  smb encrypt = required

must be to completely deny access to the share "share".

This was working correctly for clients when using SMB 3 dialects <
3.1.1, but not for 3.1.1 with a negprot encryption context.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12520

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-01-27 22:00:17 +01:00
..
2017-01-09 14:34:11 +01:00
2014-01-03 05:04:44 +01:00
2017-01-06 12:28:19 +01:00
2015-12-22 02:22:50 +01:00
2016-12-11 11:17:24 +01:00
2017-01-09 18:15:19 +01:00
2017-01-22 18:30:11 +01:00
2017-01-22 18:30:11 +01:00
2013-05-18 16:32:38 +02:00
2015-03-17 11:30:52 +01:00
2017-01-09 18:15:19 +01:00