kadm5/admin.h
includes a number of required header files,
including RPC, Kerberos 5, com_err, and admin com_err
defines. It contains prototypes for all kadm5 routines mentioned
below, as well as all Admin API data structures, type definitions and
defines mentioned in this document.
Before #1
ing kadm5/admin.h
, the programmer can
specify the API version number that the program will use by
#1
ing USE_KADM5_API_VERSION; for example, define that symbol
to be 1 to use KADM5_API_VERSION_1. This will ensure that the correct
functional protoypes and data structures are defined. If no version
symbol is defined, the most recent version supported by the header
files will be used.
Some of the defines and their values contained in kadm5/admin.h
include the following, whose KADM5_ prefixes have been removed.
Symbols that do not exist in KADM5_API_VERSION_2 do not have a KADM5_
prefix, but instead retain only with OVSEC_KADM_ prefix for
compatibility.
KADM5 errors are described in kadm5/kadm_err.h
, which
is included by
kadm5/admin.h
.
The locations of the admin policy and principal databases, as well as
defines and type definitions for the databases, are defined in
kadm5/adb.h
. Some of the defines in that file are:
Client applications will link against libkadm5clnt.a and server programs against libkadm5srv.a. Client applications must also link against: libgssapi_krb5.a, libkrb5.a, libcrypto.a, libgssrpc.a, libcom_err.a, and libdyn.a. Server applications must also link against: libkdb5.a, libkrb5.a, libcrypto.a, libgssrpc.a, libcom_err.a, and libdyn.a.