diff options
author | Greg Hudson <ghudson@mit.edu> | 2009-09-21 18:40:02 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2009-09-21 18:40:02 +0000 |
commit | f07bca9fc94a5cf2e3c0f58226c7973a4b86b7a9 (patch) | |
tree | d025c8c46724b63e7e92d85ecf290c0f4cbcf7ac /src/lib/kadm5/unit-test | |
parent | f36a5ba4e2fd034d9f261b1b4faaa28e7c7e46e7 (diff) | |
download | krb5-f07bca9fc94a5cf2e3c0f58226c7973a4b86b7a9.tar.gz krb5-f07bca9fc94a5cf2e3c0f58226c7973a4b86b7a9.tar.xz krb5-f07bca9fc94a5cf2e3c0f58226c7973a4b86b7a9.zip |
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
Diffstat (limited to 'src/lib/kadm5/unit-test')
-rw-r--r-- | src/lib/kadm5/unit-test/api.2/crte-principal.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/kadm5/unit-test/api.2/crte-principal.exp b/src/lib/kadm5/unit-test/api.2/crte-principal.exp index 8a84af271..bb7917b90 100644 --- a/src/lib/kadm5/unit-test/api.2/crte-principal.exp +++ b/src/lib/kadm5/unit-test/api.2/crte-principal.exp @@ -54,7 +54,7 @@ proc test3 {} { perror "$test: unexpected failure in init" return } - one_line_fail_test [format { + one_line_succeed_test [format { kadm5_create_principal $server_handle [simple_principal "%s/a"] \ {KADM5_PRINCIPAL} null } $test] "EINVAL" |