kadm5: Teach perform_tl_data() about aliases

Sort of.  It already knew.

We have a mess where new things get sent to the server as
KRB5_TL_EXTENSION, but old things get sent to the client as whatever
appropriate KRB5_TL we have, and... we call perform_tl_data() on all TL,
but we don't remove unmodified TL on the client side, and...

Anyways.  This commit is a band-aid, but it works.
This commit is contained in:
Nicolas Williams
2021-10-08 02:00:53 -05:00
parent 838431d95e
commit fb298a023b

View File

@@ -155,6 +155,8 @@ perform_tl_data(krb5_context context,
ent->entry.etypes, NULL);
if (ret)
return KADM5_BAD_TL_TYPE;
} else if (tl_data->tl_data_type == KRB5_TL_ALIASES) {
return 0;
} else {
return KADM5_BAD_TL_TYPE;
}