summaryrefslogtreecommitdiffstats
path: root/doc/kadm5/api-unit-test.tex
diff options
context:
space:
mode:
authorJonathan Kamens <jik@mit.edu>1993-11-15 19:57:53 +0000
committerJonathan Kamens <jik@mit.edu>1993-11-15 19:57:53 +0000
commit2adad707d7ebb32208e9f56a849f29ddd769e805 (patch)
tree10156de55c82ae58e9728f4f3fbd0938441dfeeb /doc/kadm5/api-unit-test.tex
parente95e2d634bedcc5d8d96f1ec83b14efb0204bf7b (diff)
downloadkrb5-2adad707d7ebb32208e9f56a849f29ddd769e805.tar.gz
krb5-2adad707d7ebb32208e9f56a849f29ddd769e805.tar.xz
krb5-2adad707d7ebb32208e9f56a849f29ddd769e805.zip
*** empty log message ***
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2927 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'doc/kadm5/api-unit-test.tex')
-rw-r--r--doc/kadm5/api-unit-test.tex37
1 files changed, 27 insertions, 10 deletions
diff --git a/doc/kadm5/api-unit-test.tex b/doc/kadm5/api-unit-test.tex
index 551559dd0d..01969fde4f 100644
--- a/doc/kadm5/api-unit-test.tex
+++ b/doc/kadm5/api-unit-test.tex
@@ -93,9 +93,6 @@ tested.
%ADMIN_SERVICE is abbreviated A_S, and CHANGEPW_SERVICE is abbreviated
%C_S.
-XXX needs to be updated to take into account new server behavior with
-respect to reading master key vs. getting it from stash.
-
\numtest{1}{
\Reason{An empty string realm is rejected.}
\Call{ovsec_kadm_init(a, a's-p, A_S, "")}
@@ -103,14 +100,18 @@ respect to reading master key vs. getting it from stash.
}
\numtest{2}{
-\Reason{A bad realm is rejected.}
+\Reason{A realm containing invalid characters is rejected.}
\Call{ovsec_kadm_init(a, a's-p, A_S, B.R)}
\Expected{returns XXX}
}
+\numtest{2.5}{
+\Reason{A non-existent realm is rejected.}
+}
+
\numtest{3}{
\Reason{A bad service name representing an existing principal
- is rejected.}
+ (different from the client principal) is rejected.}
\Call{ovsec_kadm_init(a, a's-p, b, null)}
\Expected{returns XXX}
\Conditions{RPC}
@@ -133,7 +134,7 @@ respect to reading master key vs. getting it from stash.
}
\numtest{6}{
-\Reason{A null password is rejected.}
+\Reason{A null password causes password prompting.}
\Call{ovsec_kadm_init(a, null, A_S, null)}
\Expected{returns XXX}
\Conditions{RPC}
@@ -192,7 +193,7 @@ respect to reading master key vs. getting it from stash.
\numtest{14}{
\Reason{A client_name referring to a non-existent principal in
- a bad realm is rejected.}
+ a nonexistent realm is rejected.}
\Call{ovsec_kadm_init(n@B.R, no-p, A_S, null)}
\Expected{returns XXX}
\Conditions{RPC}
@@ -200,7 +201,7 @@ respect to reading master key vs. getting it from stash.
\numtest{15}{
\Reason{A client_name referring to an existing principal in a
- bad realm is rejected.}
+ nonexistent realm is rejected.}
\Call{ovsec_kadm_init(a@B.R, a's-p, A_S, null)}
\Expected{returns XXX}
\Conditions{RPC}
@@ -251,7 +252,7 @@ respect to reading master key vs. getting it from stash.
}
\numtest{22}{
-\Reason{Null password is ignored in local invocation.}
+\Reason{A null password causes master-key prompting.}
\Call{ovsec_kadm_init(a, null, A_S, null);
ovsec_kadm_destroy()}
\Expected{returns OK}
@@ -259,7 +260,7 @@ respect to reading master key vs. getting it from stash.
}
\numtest{23}{
-\Reason{Non-null password is ignored in local invocation.}
+\Reason{A non-null password causes reading from the kstash.}
\Call{ovsec_kadm_init(a, no-p, A_S, null);
ovsec_kadm_destroy()}
\Expected{returns OK}
@@ -282,6 +283,22 @@ respect to reading master key vs. getting it from stash.
\Conditions{local}
}
+\numtest{26}{
+\Reason{Can't do ``get'' operation before calling init.}
+}
+
+\numtest{27}{
+\Reason{Can't do ``add'' operation before calling init.}
+}
+
+\numtest{28}{
+\Reason{Can't do ``modify'' operation before calling init.}
+}
+
+\numtest{29}{
+\Reason{Can't do ``delete'' operation before calling init.}
+}
+
\section{ovsec_kadm_destroy}
\numtest{1}{