Pull up r22782, r22784, r23610 from trunk, with additional test suite changes to compensate for the existence of the api.0/ unit tests that removed for 1.8. Don't pull up the kadmin CLI changes for now. ------------------------------------------------------------------------ r23610 | ghudson | 2010-01-07 21:43:21 -0500 (Thu, 07 Jan 2010) | 10 lines ticket: 6626 subject: Restore interoperability with 1.6 addprinc -randkey tags: pullup target_version: 1.8 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. ------------------------------------------------------------------------ r22784 | ghudson | 2009-09-24 11:40:26 -0400 (Thu, 24 Sep 2009) | 2 lines Fix kadm5 unit test modified in r22782. ------------------------------------------------------------------------ r22782 | ghudson | 2009-09-21 14:40:02 -0400 (Mon, 21 Sep 2009) | 5 lines 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. https://github.com/krb5/krb5/commit/f77a33fefbfb82455ddaebe08f901a2a2674797a Commit By: tlyu Revision: 23650 Changed Files: U branches/krb5-1-7/src/lib/kadm5/srv/svr_principal.c U branches/krb5-1-7/src/lib/kadm5/unit-test/api.0/crte-principal.exp U branches/krb5-1-7/src/lib/kadm5/unit-test/api.2/crte-principal.exp