]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix kadmin addprinc -randkey -kvno 1001/head
authorGreg Hudson <ghudson@mit.edu>
Sun, 17 Nov 2019 00:54:51 +0000 (19:54 -0500)
committerGreg Hudson <ghudson@mit.edu>
Tue, 19 Nov 2019 21:11:47 +0000 (16:11 -0500)
commit462e85208d57b8d4120c99e801fbd156b9ccf16f
tree3ef18e2a26b7c61b8c912135db26288675a7b032
parent4d106256cc5c4765be0d1d844af0b18cdcf1404c
Fix kadmin addprinc -randkey -kvno

Commit f07bca9fc94a5cf2e3c0f58226c7973a4b86b7a9 made addprinc -randkey
use a single RPC request, but the server-side handling always creates
the random keys with kvno 1.  If a kvno is specified in the RPC
request, set the kvno of the key data after creating it.  Reported by
Andreas Ladanyi.

ticket: 8848
tags: pullup
target_version: 1.17-next
target_version: 1.16-next
src/lib/kadm5/srv/svr_principal.c