From 6fbf5deb559286a0b943bcb53eb371b805a96ad8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 3 Jul 2023 15:12:38 +0200 Subject: [PATCH] s3:utils: let smbstatus also report AES-256 encryption types for tcons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We already do that for sessions. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15412 Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett Reviewed-by: Günther Deschner (cherry picked from commit 8119fd6d6a49b869bd9e8ff653b500e194b070de) --- source3/utils/status.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source3/utils/status.c b/source3/utils/status.c index 4102b415601..d66e310226b 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -549,6 +549,12 @@ static int traverse_connections(const struct connections_data *crec, case SMB2_ENCRYPTION_AES128_GCM: encryption = "AES-128-GCM"; break; + case SMB2_ENCRYPTION_AES256_CCM: + encryption = "AES-256-CCM"; + break; + case SMB2_ENCRYPTION_AES256_GCM: + encryption = "AES-256-GCM"; + break; default: encryption = "???"; break;