]> git.ipfire.org Git - thirdparty/krb5.git/commit
Improve error message for DES kadmin/history key 1332/head
authorGreg Hudson <ghudson@mit.edu>
Wed, 20 Mar 2024 21:17:50 +0000 (17:17 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 26 Mar 2024 15:07:46 +0000 (11:07 -0400)
commitebe416acff31616a342d27876e510007d426aae9
treebd4823dc9cd8d3903644140fe7e2642415997380
parent458afb6737b17510175ab4f6fa4b95ec3d9e77f8
Improve error message for DES kadmin/history key

If the kadmin/history entry contains an unsupported encryption type,
produce a better error message than "Bad encryption type".  Reuse the
error code KADM5_BAD_HIST_KEY (unused since release 1.8).  Non-updated
kadmin clients will report the message "Password history principal key
version mismatch", which at least points in the direction of password
history.

ticket: 9116 (new)
src/lib/kadm5/kadm_err.et
src/lib/kadm5/srv/svr_principal.c
src/tests/hist.c
src/tests/t_policy.py