From: Alan T. DeKok Date: Sat, 29 Jun 2024 17:54:31 +0000 (-0400) Subject: add more helpful error messages X-Git-Tag: release_3_0_27~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f8da1322f1ec0d27e9ed543ba798d12b9bafec7;p=thirdparty%2Ffreeradius-server.git add more helpful error messages --- diff --git a/src/lib/radius.c b/src/lib/radius.c index 0962d3d6f7..6dcee141e2 100644 --- a/src/lib/radius.c +++ b/src/lib/radius.c @@ -2762,7 +2762,7 @@ bool rad_packet_ok(RADIUS_PACKET *packet, int flags, decode_fail_t *reason) * Message-Authenticator attributes. */ if (require_ma && !seen_ma) { - FR_DEBUG_STRERROR_PRINTF("Insecure packet from host %s: Packet does not contain required Message-Authenticator attribute", + FR_DEBUG_STRERROR_PRINTF("Insecure packet from host %s: Packet does not contain required Message-Authenticator attribute. You may need to set \"require_message_authenticator = no\" in the configuration.", inet_ntop(packet->src_ipaddr.af, &packet->src_ipaddr.ipaddr, host_ipaddr, sizeof(host_ipaddr)));