(tgs_rep2): also print the principal for which the enctype was missing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16407 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -2068,11 +2068,13 @@ tgs_rep2(krb5_context context,
|
||||
ret = hdb_enctype2key(context, &krbtgt->entry,
|
||||
ap_req.ticket.enc_part.etype, &tkey);
|
||||
if(ret){
|
||||
char *str;
|
||||
char *str, *p;
|
||||
krb5_enctype_to_string(context, ap_req.ticket.enc_part.etype, &str);
|
||||
krb5_unparse_name(context, princ, &p);
|
||||
kdc_log(context, config, 0,
|
||||
"No server key found for %s", str);
|
||||
"No server key with enctype %s found for %s", str, p);
|
||||
free(str);
|
||||
free(p);
|
||||
ret = KRB5KRB_AP_ERR_BADKEYVER;
|
||||
goto out2;
|
||||
}
|
||||
|
Reference in New Issue
Block a user