Reduce older log messages to level 4 and collect some errors.

We take all of the kdc_log() and _kdc_r_log() calls in AS and TGS
and move their log levels down to debugging on the assumption that
our new log line subsumes the "informational" requirements.  We
collect some additional information in the kv-pair "pe-text" which
is like e-text except it is not returned to the client.
This commit is contained in:
Roland C. Dowdeswell
2019-11-18 22:49:22 +00:00
committed by Viktor Dukhovni
parent 7d353d0557
commit 6db323157f
3 changed files with 175 additions and 191 deletions

View File

@@ -212,10 +212,7 @@ _kdc_check_access(astgs_request_t r, KDC_REQ *req, METHOD_DATA *method_data)
}
if (ret == KRB5_PLUGIN_NO_HANDLE)
return kdc_check_flags(context, config,
client_ex, client_name,
server_ex, server_name,
req->msg_type == krb_as_req);
return kdc_check_flags(r, req->msg_type == krb_as_req);
return ret;
}