Skip Menu |
 

Date: Fri, 15 Nov 2019 09:36:36 +0100
To: krb5-bugs@mit.edu
From: "Andreas Ladanyi" <andreas.ladanyi@kit.edu>
Subject: kadmin.local: ank -kvno parameter doesnt work
Hi,

if i create a new principal with kadmin for example:

ank -randkey -kvno 2 test_principal

the principal is created but the kvno of the created principal ist set
to 1 instead of 2.

iam using krb 1.15.1 on centos

cheers,

Andi
From: ghudson@mit.edu
Subject: git commit

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.

https://github.com/krb5/krb5/commit/462e85208d57b8d4120c99e801fbd156b9ccf16f
Author: Greg Hudson <ghudson@mit.edu>
Commit: 462e85208d57b8d4120c99e801fbd156b9ccf16f
Branch: master
src/lib/kadm5/srv/svr_principal.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Subject: git commit
From: ghudson@mit.edu

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.

(cherry picked from commit 462e85208d57b8d4120c99e801fbd156b9ccf16f)

https://github.com/krb5/krb5/commit/350fc9d55742bce55380f41dfafa0ba1a92c27cb
Author: Greg Hudson <ghudson@mit.edu>
Commit: 350fc9d55742bce55380f41dfafa0ba1a92c27cb
Branch: krb5-1.16
src/lib/kadm5/srv/svr_principal.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Subject: git commit
From: ghudson@mit.edu

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.

(cherry picked from commit 462e85208d57b8d4120c99e801fbd156b9ccf16f)

https://github.com/krb5/krb5/commit/6eaa92c3ebfd67c5517ae3a8b5adf4ae8c9cb574
Author: Greg Hudson <ghudson@mit.edu>
Commit: 6eaa92c3ebfd67c5517ae3a8b5adf4ae8c9cb574
Branch: krb5-1.17
src/lib/kadm5/srv/svr_principal.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)