summaryrefslogtreecommitdiffstats
path: root/src/lib/kadm5/unit-test
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2010-03-11 17:05:24 +0000
committerGreg Hudson <ghudson@mit.edu>2010-03-11 17:05:24 +0000
commit49abf1c55ae0d9a79239cd22ada98b2cfc54e224 (patch)
tree8e40c3fad10daa0a122a2e93e5914483a793ba14 /src/lib/kadm5/unit-test
parentf430481d573dc76a17b31c11ce8a5c5ed878df72 (diff)
downloadkrb5-49abf1c55ae0d9a79239cd22ada98b2cfc54e224.tar.gz
krb5-49abf1c55ae0d9a79239cd22ada98b2cfc54e224.tar.xz
krb5-49abf1c55ae0d9a79239cd22ada98b2cfc54e224.zip
Lazy history key creation
Create kadmin/history lazily when we need it (i.e. when a password is changed on a principal with a policy) instead of whenever we open the database. Allows kadmin.local to be used as a read-only tool on non- kadmin-conformant database back ends such as the Samba bridge. ticket: 6679 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23799 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/kadm5/unit-test')
-rw-r--r--src/lib/kadm5/unit-test/api.current/randkey-principal.exp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/lib/kadm5/unit-test/api.current/randkey-principal.exp b/src/lib/kadm5/unit-test/api.current/randkey-principal.exp
index 5fcb1c023..1484901fa 100644
--- a/src/lib/kadm5/unit-test/api.current/randkey-principal.exp
+++ b/src/lib/kadm5/unit-test/api.current/randkey-principal.exp
@@ -267,28 +267,6 @@ proc test31 {} {
}
test31
-test "randkey-principal 32"
-proc test32 {} {
- global test
-
- if { ! [cmd {
- kadm5_init admin admin $KADM5_ADMIN_SERVICE null \
- $KADM5_STRUCT_VERSION $KADM5_API_VERSION_3 \
- server_handle
- }]} {
- perror "$test: unexpected failure in init"
- return
- }
- one_line_succeed_test {
- kadm5_randkey_principal $server_handle kadmin/history keys num_keys
- }
- if { ! [cmd {kadm5_destroy $server_handle}]} {
- perror "$test: unexpected failure in destroy"
- return
- }
-}
-test32
-
test "randkey-principal 33"
proc test33 {} {
global test