]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add more helpful error messages
authorAlan T. DeKok <aland@freeradius.org>
Sat, 29 Jun 2024 17:54:31 +0000 (13:54 -0400)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Mon, 8 Jul 2024 19:40:57 +0000 (20:40 +0100)
src/lib/radius.c

index 0962d3d6f72a1af4ce0574d0145121df73d7b4b6..6dcee141e22cd91b1572c4d5753450967f2c8fae 100644 (file)
@@ -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)));