From: Barry Jaspan Date: Thu, 10 Aug 1995 22:43:34 +0000 (+0000) Subject: [secure-admin/3394] first cut at unit tests for locking X-Git-Tag: krb5-1.0-beta6~1325 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2464af49c883895f49422cba1ba53ab74d47f40d;p=krb5.git [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 --- 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} }