From 7a3030b556fa2c38ff4057fa949ee55439d09475 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Tue, 26 Aug 2025 15:12:04 +0200 Subject: [PATCH] [channels,rdpear] explicitly abort if Heimdal detected The RDPEAR channel is currently only tested against MIT kerberos. It does not even compile with Heimdal, so bail out early during configure. --- channels/rdpear/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/channels/rdpear/CMakeLists.txt b/channels/rdpear/CMakeLists.txt index 7de40d6c1..082b2c49c 100644 --- a/channels/rdpear/CMakeLists.txt +++ b/channels/rdpear/CMakeLists.txt @@ -21,6 +21,10 @@ if(NOT IOS AND NOT WIN32 AND NOT ANDROID) if(KRB5_FOUND) define_channel("rdpear") + if(KRB5_FLAVOUR STREQUAL "Heimdal") + message(FATAL_ERROR "krb5 implementation Heimdal not supported with -DCHANNEL_RDPEAR=ON") + endif() + include_directories(common) if(WITH_CLIENT_CHANNELS OR WITH_SERVER_CHANNELS)