1KRB5_APPDEFAULT(3)       BSD Library Functions Manual       KRB5_APPDEFAULT(3)
2

NAME

4     krb5_appdefault_boolean, krb5_appdefault_string, krb5_appdefault_time 
5     get application configuration value
6

LIBRARY

8     Kerberos 5 Library (libkrb5, -lkrb5)
9

SYNOPSIS

11     #include <krb5.h>
12
13     void
14     krb5_appdefault_boolean(krb5_context context, const char *appname,
15         krb5_realm realm, const char *option, krb5_boolean def_val,
16         krb5_boolean *ret_val);
17
18     void
19     krb5_appdefault_string(krb5_context context, const char *appname,
20         krb5_realm realm, const char *option, const char *def_val,
21         char **ret_val);
22
23     void
24     krb5_appdefault_time(krb5_context context, const char *appname,
25         krb5_realm realm, const char *option, time_t def_val,
26         time_t *ret_val);
27

DESCRIPTION

29     These functions get application defaults from the appdefaults section of
30     the krb5.conf(5) configuration file. These defaults can be specified per
31     application, and/or per realm.
32
33     These values will be looked for in krb5.conf(5), in order of descending
34     importance.
35
36           [appdefaults]
37                   appname = {
38                           realm = {
39                                   option = value
40                           }
41                   }
42                   appname = {
43                           option = value
44                   }
45                   realm = {
46                           option = value
47                   }
48                   option = value
49     appname is the name of the application, and realm is the realm name. If
50     the realm is omitted it will not be used for resolving values.  def_val
51     is the value to return if no value is found in krb5.conf(5).
52

SEE ALSO

54     krb5_config(3), krb5.conf(5)
55
56HEIMDAL                          July 25, 2000                         HEIMDAL
Impressum