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:
@@ -155,6 +155,8 @@ perform_tl_data(krb5_context context,
|
|||||||
ent->entry.etypes, NULL);
|
ent->entry.etypes, NULL);
|
||||||
if (ret)
|
if (ret)
|
||||||
return KADM5_BAD_TL_TYPE;
|
return KADM5_BAD_TL_TYPE;
|
||||||
|
} else if (tl_data->tl_data_type == KRB5_TL_ALIASES) {
|
||||||
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
return KADM5_BAD_TL_TYPE;
|
return KADM5_BAD_TL_TYPE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user