Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1955880b authored by Steve French's avatar Steve French
Browse files

SMB3: Enable encryption for SMB3.1.1



We were missing a capability flag for SMB3.1.1

Signed-off-by: default avatarSteve French <steve.french@primarydata.com>
Reviewed-by: default avatarPavel Shilovsky <pshilov@microsoft.com>
parent 6f7da290
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2753,7 +2753,7 @@ struct smb_version_values smb302_values = {
struct smb_version_values smb311_values = {
	.version_string = SMB311_VERSION_STRING,
	.protocol_id = SMB311_PROT_ID,
	.req_capabilities = SMB2_GLOBAL_CAP_DFS | SMB2_GLOBAL_CAP_LEASING | SMB2_GLOBAL_CAP_LARGE_MTU | SMB2_GLOBAL_CAP_PERSISTENT_HANDLES,
	.req_capabilities = SMB2_GLOBAL_CAP_DFS | SMB2_GLOBAL_CAP_LEASING | SMB2_GLOBAL_CAP_LARGE_MTU | SMB2_GLOBAL_CAP_PERSISTENT_HANDLES | SMB2_GLOBAL_CAP_ENCRYPTION,
	.large_lock_type = 0,
	.exclusive_lock_type = SMB2_LOCKFLAG_EXCLUSIVE_LOCK,
	.shared_lock_type = SMB2_LOCKFLAG_SHARED_LOCK,