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