summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTomas Kuthan <tkuthan@gmail.com>2014-04-03 17:58:43 +0200
committerGreg Hudson <ghudson@mit.edu>2014-04-04 14:02:47 -0400
commit8d735931e2a93fab31d68772e8881faa6b030a10 (patch)
tree61c77286562c103acf9a177294da214359e715ba /doc
parent372e4cb6f5d4a603e6e3157c7b5d354953836136 (diff)
downloadkrb5-8d735931e2a93fab31d68772e8881faa6b030a10.tar.gz
krb5-8d735931e2a93fab31d68772e8881faa6b030a10.tar.xz
krb5-8d735931e2a93fab31d68772e8881faa6b030a10.zip
Remove adb_policy_init and adb_policy_close
Since f72c3ffa the policy is initialized as part of database. adb_policy_close is now a no-op, and adb_policy_init just makes sure the database is initialized. adb_policy_init is only called from kadm5_flush, and only if database initialization was successful beforehand, rendering this call redundant. Remove adb_policy_init and adb_policy_close and all their references in the code and documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/kadm5/api-funcspec.tex5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/kadm5/api-funcspec.tex b/doc/kadm5/api-funcspec.tex
index bf885b464..c13090a51 100644
--- a/doc/kadm5/api-funcspec.tex
+++ b/doc/kadm5/api-funcspec.tex
@@ -1107,9 +1107,8 @@ the Admin API open. This function behaves differently when called by
local and remote clients.
For local clients, the function closes and reopens the Kerberos
-database with krb5_db_fini() and krb5_db_init(), and closes and
-reopens the Admin policy database with adb_policy_close() and
-adb_policy_open(). Although it is unlikely, any other these functions
+database with krb5_db_fini() and krb5_db_init().
+Although it is unlikely, either of these functions
could return errors; in that case, this function calls
kadm5_destroy and returns the error code. Therefore, if
kadm5_flush does not return KADM5_OK, the connection to the