From 2464af49c883895f49422cba1ba53ab74d47f40d Mon Sep 17 00:00:00 2001 From: Barry Jaspan Date: Thu, 10 Aug 1995 22:43:34 +0000 Subject: [PATCH] [secure-admin/3394] first cut at unit tests for locking git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6507 dc483132-0cff-0310-8789-dd5450dbe970 --- doc/kadm5/api-server-design.tex | 6 +++++- doc/kadm5/api-unit-test.tex | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/kadm5/api-server-design.tex b/doc/kadm5/api-server-design.tex index eb125b409..f422c3163 100644 --- a/doc/kadm5/api-server-design.tex +++ b/doc/kadm5/api-server-design.tex @@ -296,7 +296,11 @@ osa_adb_ret_t osa_adb_close_T(osa_adb_T_t db); \end{verbatim} % -Close an open database. +Release all shared or exclusive locks (on BOTH databases, since they +use the same lock file) and close the database. + +It is an error to exit while a permanent lock is held; +OSA_ADB_NOLOCKFILE is returned in this case. \begin{verbatim} osa_adb_ret_t osa_adb_get_lock(osa_adb_T_t db, int mode) diff --git a/doc/kadm5/api-unit-test.tex b/doc/kadm5/api-unit-test.tex index 38695e0bd..8985263c3 100644 --- a/doc/kadm5/api-unit-test.tex +++ b/doc/kadm5/api-unit-test.tex @@ -392,14 +392,14 @@ with the corrupted server handle. \numtest{45}{ \Priority{Bug fix, secure-install/3390} \Reason{Returns SECURE_PRINC_MISSING when ADMIN_SERVICE does not -exist. +exist.} \Status{Implemented} } \numtest{46}{ \Priority{Bug fix, secure-install/3390} \Reason{Returns SECURE_PRINC_MISSING when CHANGEPW_SERVICE does not -exist. +exist.} \Status{Implemented} } -- 2.26.2