]> git.ipfire.org Git - thirdparty/krb5.git/commit
kadm5_randkey_principal interop with Solaris KDC
authorTomas Kuthan <tkuthan@gmail.com>
Wed, 28 May 2014 13:24:20 +0000 (15:24 +0200)
committerGreg Hudson <ghudson@mit.edu>
Thu, 21 Aug 2014 15:31:04 +0000 (11:31 -0400)
commite86e3baaa684a7e891ffe852d74095c1a8b630ba
treee46b6c8d2a68f827690db326ca391ac079a17d76
parentbbfe19f03bdeca7b05b542dbae4c1692c9800c70
kadm5_randkey_principal interop with Solaris KDC

When kadm5_randkey_principal is called on Solaris kadmind (as opposed
to kadm5_randkey_principal_3), the KDC assumes the peer is a Solaris 9
system, and only creates DES keys.

For better interoperability, always call kadm5_randkey_principal_3
first.  If this procedure is not present on the remote server, fall
back to calling kadm5_randkey_principal if possible.

[ghudson@mit.edu: adjusted comments, argument wrapping, commit
message]

ticket: 7997 (new)
target_version: 1.13
tags: pullup
src/kadmin/cli/kadmin.c
src/kadmin/cli/kadmin.h
src/kadmin/cli/keytab.c