Improve the mechanism used for addprinc -randkey. In the kadmin
authorGreg Hudson <ghudson@mit.edu>
Mon, 21 Sep 2009 18:40:02 +0000 (18:40 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 21 Sep 2009 18:40:02 +0000 (18:40 +0000)
commitf07bca9fc94a5cf2e3c0f58226c7973a4b86b7a9
treed025c8c46724b63e7e92d85ecf290c0f4cbcf7ac
parentf36a5ba4e2fd034d9f261b1b4faaa28e7c7e46e7
Improve the mechanism used for addprinc -randkey.  In the kadmin
server, if the password is null when creating a principal, treat that
as a request for a random key.  In the kadmin client, try using the
new method for random key creation and then fall back to the old one.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22782 dc483132-0cff-0310-8789-dd5450dbe970
src/kadmin/cli/kadmin.c
src/lib/kadm5/srv/svr_principal.c
src/lib/kadm5/unit-test/api.2/crte-principal.exp