Skip to content

Commit

Permalink
remove call to krb5_get_error_name
Browse files Browse the repository at this point in the history
It is now libvas_krb5_get_error_name and seems to be a private api,
at least the header it is declared in is not shipped.
  • Loading branch information
JaysonHurst committed May 20, 2019
1 parent e6af811 commit ee165f5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mod_auth_vas.c
Original file line number Diff line number Diff line change
Expand Up @@ -2218,10 +2218,9 @@ auth_vas_server_init(apr_pool_t *p, server_rec *s)

if (errinfo && errinfo->code == KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN) {
LOG_ERROR(APLOG_INFO, 0, s,
"Credential test for %s failed with %s, "
"this is harmless if it is a service alias",
sc->server_principal,
krb5_get_error_name(errinfo->code));
"Credential test for %s failed (principal is unknown), "
"this is harmless if it is a service alias",
sc->server_principal);
} else {
LOG_ERROR(APLOG_ERR, 0, s,
"vas_auth failed, err = %s",
Expand Down

0 comments on commit ee165f5

Please sign in to comment.