* verification if they don't match.
*/
if (conf->check_cert_issuer && (strcmp(issuer, conf->check_cert_issuer) != 0)) {
- AUTH("Certificate issuer (%s) does not match specified value (%s)!",
- issuer, conf->check_cert_issuer);
+ REDEBUG("Certificate issuer (%s) does not match specified value (%s)!",
+ issuer, conf->check_cert_issuer);
my_ok = 0;
}
} else {
RDEBUG2("checking certificate CN (%s) with xlat'ed value (%s)", common_name, cn_str);
if (strcmp(cn_str, common_name) != 0) {
- AUTH("Certificate CN (%s) does not match specified value (%s)!",
- common_name, cn_str);
+ REDEBUG("Certificate CN (%s) does not match specified value (%s)!",
+ common_name, cn_str);
my_ok = 0;
}
}
passwd = fr_pair_find_by_da(request->control, attr_digest_ha1, TAG_ANY);
if (passwd) {
if (passwd->vp_length != 32) {
- RAUTH("Digest-HA1 has invalid length, authentication failed");
+ REDEBUG("Digest-HA1 has invalid length, authentication failed");
return RLM_MODULE_INVALID;
}
} else {
passwd = fr_pair_find_by_da(request->control, attr_cleartext_password, TAG_ANY);
}
if (!passwd) {
- RAUTH("Cleartext-Password or Digest-HA1 is required for authentication");
+ REDEBUG("Cleartext-Password or Digest-HA1 is required for authentication");
return RLM_MODULE_INVALID;
}
* a User-Name attribute.
*/
if (!request->username) {
- RAUTH("Attribute \"User-Name\" is required for authentication");
+ REDEBUG("Attribute \"User-Name\" is required for authentication");
return RLM_MODULE_INVALID;
}
* a User-Password attribute.
*/
if (!request->password) {
- RAUTH("Attribute \"User-Password\" is required for authentication");
+ REDEBUG("Attribute \"User-Password\" is required for authentication");
return RLM_MODULE_INVALID;
}
* and not anything else.
*/
if (request->password->da != attr_user_password) {
- RAUTH("Attribute \"%s\" is required for authentication. Cannot use \"%s\".",
- attr_user_password->name, request->password->da->name);
+ REDEBUG("Attribute \"%s\" is required for authentication. Cannot use \"%s\".",
+ attr_user_password->name, request->password->da->name);
return RLM_MODULE_INVALID;
}
RWDEBUG("RWDEBUG message");
RWDEBUG("RWDEBUG2 message");
- RAUTH("RAUTH message");
- RACCT("RACCT message");
- RPROXY("RPROXY message");
-
/*
* Should appear wavy
*/
}
endusershell();
if (!shell) {
- RAUTH("[%s]: invalid shell [%s]",
- name, pwd->pw_shell);
+ REDEBUG("[%s]: invalid shell [%s]", name, pwd->pw_shell);
return RLM_MODULE_REJECT;
}
#endif
*/
if (spwd && spwd->sp_lstchg > 0 && spwd->sp_max >= 0 &&
(request->packet->timestamp.tv_sec / 86400) > (spwd->sp_lstchg + spwd->sp_max)) {
- RAUTH("[%s]: password has expired", name);
+ REDEBUG("[%s]: password has expired", name);
return RLM_MODULE_REJECT;
}
/*
*/
if (spwd && spwd->sp_expire > 0 &&
(request->packet->timestamp.tv_sec / 86400) > spwd->sp_expire) {
- RAUTH("[%s]: account has expired", name);
+ REDEBUG("[%s]: account has expired", name);
return RLM_MODULE_REJECT;
}
#endif
*/
if ((pwd->pw_expire > 0) &&
(request->packet->timestamp.tv_sec > pwd->pw_expire)) {
- RAUTH("[%s]: password has expired", name);
+ REDEBUG("[%s]: password has expired", name);
return RLM_MODULE_REJECT;
}
#endif