Restore interoperability with 1.6 addprinc -randkey
authorGreg Hudson <ghudson@mit.edu>
Fri, 8 Jan 2010 02:43:21 +0000 (02:43 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 8 Jan 2010 02:43:21 +0000 (02:43 +0000)
commitf6b381170552b311793a593e10e2108a10b0397b
tree79db3c89983e964c75471017935562c9b2e64ce5
parentf1ac7570002acc490b0f7a535435c1076779812c
Restore interoperability with 1.6 addprinc -randkey

The arcfour string-to-key operation in krb5 1.7 (or later) disagrees
with the dummy password used by the addprinc -randkey operation in
krb5 1.6's kadmin client, because it's not valid UTF-8.  Recognize the
1.6 dummy password and use a random password instead.

ticket: 6626
tags: pullup
target_version: 1.8

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23610 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/kadm5/srv/svr_principal.c