1 |
|
---|
2 | KRB5_APPDEFAULT(3) BSD Library Functions Manual KRB5_APPDEFAULT(3)
|
---|
3 |
|
---|
4 | NNAAMMEE
|
---|
5 | kkrrbb55__aappppddeeffaauulltt__bboooolleeaann, kkrrbb55__aappppddeeffaauulltt__ssttrriinngg, kkrrbb55__aappppddeeffaauulltt__ttiimmee --
|
---|
6 | get application configuration value
|
---|
7 |
|
---|
8 | LLIIBBRRAARRYY
|
---|
9 | Kerberos 5 Library (libkrb5, -lkrb5)
|
---|
10 |
|
---|
11 | SSYYNNOOPPSSIISS
|
---|
12 | ##iinncclluuddee <<kkrrbb55..hh>>
|
---|
13 |
|
---|
14 | _v_o_i_d
|
---|
15 | kkrrbb55__aappppddeeffaauulltt__bboooolleeaann(_k_r_b_5___c_o_n_t_e_x_t _c_o_n_t_e_x_t, _c_o_n_s_t _c_h_a_r _*_a_p_p_n_a_m_e,
|
---|
16 | _k_r_b_5___r_e_a_l_m _r_e_a_l_m, _c_o_n_s_t _c_h_a_r _*_o_p_t_i_o_n, _k_r_b_5___b_o_o_l_e_a_n _d_e_f___v_a_l,
|
---|
17 | _k_r_b_5___b_o_o_l_e_a_n _*_r_e_t___v_a_l);
|
---|
18 |
|
---|
19 | _v_o_i_d
|
---|
20 | kkrrbb55__aappppddeeffaauulltt__ssttrriinngg(_k_r_b_5___c_o_n_t_e_x_t _c_o_n_t_e_x_t, _c_o_n_s_t _c_h_a_r _*_a_p_p_n_a_m_e,
|
---|
21 | _k_r_b_5___r_e_a_l_m _r_e_a_l_m, _c_o_n_s_t _c_h_a_r _*_o_p_t_i_o_n, _c_o_n_s_t _c_h_a_r _*_d_e_f___v_a_l,
|
---|
22 | _c_h_a_r _*_*_r_e_t___v_a_l);
|
---|
23 |
|
---|
24 | _v_o_i_d
|
---|
25 | kkrrbb55__aappppddeeffaauulltt__ttiimmee(_k_r_b_5___c_o_n_t_e_x_t _c_o_n_t_e_x_t, _c_o_n_s_t _c_h_a_r _*_a_p_p_n_a_m_e,
|
---|
26 | _k_r_b_5___r_e_a_l_m _r_e_a_l_m, _c_o_n_s_t _c_h_a_r _*_o_p_t_i_o_n, _t_i_m_e___t _d_e_f___v_a_l,
|
---|
27 | _t_i_m_e___t _*_r_e_t___v_a_l);
|
---|
28 |
|
---|
29 | DDEESSCCRRIIPPTTIIOONN
|
---|
30 | These functions get application defaults from the appdefaults section of
|
---|
31 | the krb5.conf(5) configuration file. These defaults can be specified per
|
---|
32 | application, and/or per realm.
|
---|
33 |
|
---|
34 | These values will be looked for in krb5.conf(5), in order of descending
|
---|
35 | importance.
|
---|
36 |
|
---|
37 | [appdefaults]
|
---|
38 | appname = {
|
---|
39 | realm = {
|
---|
40 | option = value
|
---|
41 | }
|
---|
42 | }
|
---|
43 | appname = {
|
---|
44 | option = value
|
---|
45 | }
|
---|
46 | realm = {
|
---|
47 | option = value
|
---|
48 | }
|
---|
49 | option = value
|
---|
50 | _a_p_p_n_a_m_e is the name of the application, and _r_e_a_l_m is the realm name. If
|
---|
51 | the realm is omitted it will not be used for resolving values. _d_e_f___v_a_l
|
---|
52 | is the value to return if no value is found in krb5.conf(5).
|
---|
53 |
|
---|
54 | SSEEEE AALLSSOO
|
---|
55 | krb5_config(3), krb5.conf(5)
|
---|
56 |
|
---|
57 | HEIMDAL July 25, 2000 HEIMDAL
|
---|