next up previous contents
Next: Principal database functions Up: Kerberos V5 Implementer's Guide Previous: Per-type functions to be   Contents

Operating-system specific functions

The operating-system specific functions provide an interface between the other parts of the libkrb5.a libraries and the operating system.

Beware! Any of the functions below are allowed to be implemented as macros. Prototypes for functions can be found in <krb5/libos-proto.h>; other definitions (including macros, if used) are in <krb5/libos.h>.

The following global symbols are provided in libos.a. If you wish to substitute for any of them, you must substitute for all of them (they are all declared and initialized in the same object file):

extern char *krb5_config_file:
name of configuration file
extern char *krb5_trans_file:
name of hostname/realm name translation file
extern char *krb5_defkeyname:
default name of key table file
extern char *krb5_lname_file:
name of aname/lname translation database
extern int krb5_max_dgram_size:
maximum allowable datagram size
extern int krb5_max_skdc_timeout:
maximum per-message KDC reply timeout
extern int krb5_skdc_timeout_shift:
shift factor (bits) to exponentially back-off the KDC timeouts
extern int krb5_skdc_timeout_1:
initial KDC timeout
extern char *krb5_kdc_udp_portname:
name of KDC UDP port
extern char *krb5_default_pwd_prompt1:
first prompt for password reading.
extern char *krb5_default_pwd_prompt2:
second prompt


next up previous contents
Next: Principal database functions Up: Kerberos V5 Implementer's Guide Previous: Per-type functions to be   Contents
Autobuild 2009-09-05