From: Alan T. DeKok Date: Fri, 5 Feb 2016 23:29:51 +0000 (-0500) Subject: Complaints about required things are errors X-Git-Tag: release_3_0_12~243 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46b96f9184c406d6f86de520c83252f1872cda7b;p=thirdparty%2Ffreeradius-server.git Complaints about required things are errors --- diff --git a/src/modules/rlm_chap/rlm_chap.c b/src/modules/rlm_chap/rlm_chap.c index 4f79fe3e771..f33816748c7 100644 --- a/src/modules/rlm_chap/rlm_chap.c +++ b/src/modules/rlm_chap/rlm_chap.c @@ -59,7 +59,7 @@ static rlm_rcode_t CC_HINT(nonnull) mod_authenticate(UNUSED void *instance, REQU uint8_t pass_str[MAX_STRING_LEN]; if (!request->username) { - RWDEBUG("&request:User-Name attribute is required for authentication"); + REDEBUG("&request:User-Name attribute is required for authentication"); return RLM_MODULE_INVALID; } diff --git a/src/modules/rlm_eap/types/rlm_eap_md5/rlm_eap_md5.c b/src/modules/rlm_eap/types/rlm_eap_md5/rlm_eap_md5.c index 72774620485..2fa00776318 100644 --- a/src/modules/rlm_eap/types/rlm_eap_md5/rlm_eap_md5.c +++ b/src/modules/rlm_eap/types/rlm_eap_md5/rlm_eap_md5.c @@ -116,7 +116,7 @@ static int mod_process(UNUSED void *arg, eap_handler_t *handler) password = fr_pair_find_by_num(handler->request->config, PW_CLEARTEXT_PASSWORD, 0, TAG_ANY); if (!password) { - RDEBUG2("Cleartext-Password is required for EAP-MD5 authentication"); + REDEBUG2("Cleartext-Password is required for EAP-MD5 authentication"); return 0; }