next up previous contents
Next: Error codes Up: Database Access Methods Previous: Database Access Methods   Contents

Principal and Policy Databases

This section describes the database abstraction used for the admin policy database; the admin principal database used to be treated in the same manner but is now handled more directly as krb5_tl_data; thus, nothing in this section applies to it any more. Since both databases export equivalent functionality, the API is only described once. The character T is used to represent both ``princ'' and ``policy''. The location of the principal database is defined by the configuration parameters given to any of the kadm5_init functions in the server library.

Note that this is only a database abstraction. All functional intelligence, such as maintaining policy reference counts or sanity checking, must be implemented above this layer.

Prototypes for the osa functions are supplied in $<$kadm5/adb.h$>$. The routines are defined in libkadm5srv.a. They require linking with the Berkely DB library.



Subsections

Autobuild 2009-09-05