* main.c (initialize_realms): Include replay cache name in error
if it can't be initialized.
+ * kerberos_v4.c (kerb_get_principal): Include kvno when logging
+ failure to find a key.
+ (v4_klog): Include explicit do-nothing default case in switch
+ statement.
+
2002-09-10 Ken Raeburn <raeburn@mit.edu>
* dispatch.c, do_as_req.c, do_tgs_req.c, kdc_preauth.c,
strcpy(log_text, "PROCESS_V4:");
vsprintf(log_text+strlen(log_text), format, pvar);
krb5_klog_syslog(logpri, "%s", log_text);
- /* ignore the other types... */
+ default:
+ /* ignore the other types... */
+ ;
}
va_end(pvar);
return(log_text);
ENCTYPE_DES_CBC_CRC,
-1, kvno, &pkey)) {
lt = klog(L_KRB_PERR,
- "KDC V4: failed to find key for %s.%s",
- name, inst);
+ "KDC V4: failed to find key for %s.%s #%d",
+ name, inst, kvno);
krb5_db_free_principal(kdc_context, &entries, nprinc);
return(0);
}
principal->attributes |= V4_KDB_REQUIRES_PWCHANGE;
}
-
-
/* set up v4 format of each date's text: */
for ( date = &principal->exp_date, text = principal->exp_date_txt;
toggle ^= 1;