.smb2_capabilities = SMB2_CAP_ALL,
.client_guid = GUID_random(),
.max_credits = WINDOWS_CLIENT_PURE_SMB2_NEGPROT_INITIAL_CREDIT_ASK,
- .smb3_capabilities = {
- .encryption = {
- .num_algos = 2,
- .algos = {
- SMB2_ENCRYPTION_AES128_GCM,
- SMB2_ENCRYPTION_AES128_CCM,
- },
- },
- },
+ .smb3_capabilities = smb311_capabilities_parse("client",
+ lpcfg_client_smb3_encryption_algorithms(lp_ctx)),
};
}