*
* @param[in] flush Whether to flush the complete keytab.
*
- * @param[in] keep_old_entries Keep the entry with the previous kvno.
- *
* @retval 0 on Sucess
*
* @return An appropriate KRB5 error code.
krb5_enctype enctype,
const char *princ_s,
krb5_principal princ,
- bool flush,
- bool keep_old_entries)
+ bool flush)
{
krb5_error_code ret;
krb5_kt_cursor cursor;
continue;
}
- if (keep_old_entries) {
- DEBUG(5, (__location__ ": Saving old (kvno %d) "
- "entry for principal: %s.\n",
- kvno, princ_s));
- continue;
- }
-
if (!flush &&
((kt_entry.vno & 0xff) == (kvno & 0xff)) &&
(kt_entry_enctype != enctype))
enctype,
princ_s,
princ,
- false, /* flush */
- false); /* keep_old_entries */
+ false); /* flush */
if (ret) {
goto out;
}