15e9cd1aeSAssar Westerlund.\" Copyright (c) 2000 Kungliga Tekniska H�gskolan 28373020dSJacques Vidrine.\" $Id: krb5_appdefault.3,v 1.7 2002/08/28 15:30:46 joda Exp $ 35e9cd1aeSAssar Westerlund.Dd July 25, 2000 45e9cd1aeSAssar Westerlund.Dt KRB5_APPDEFAULT 3 55e9cd1aeSAssar Westerlund.Os HEIMDAL 65e9cd1aeSAssar Westerlund.Sh NAME 75e9cd1aeSAssar Westerlund.Nm krb5_appdefault_boolean , 85e9cd1aeSAssar Westerlund.Nm krb5_appdefault_string , 95e9cd1aeSAssar Westerlund.Nm krb5_appdefault_time 1045524cd7SAssar Westerlund.Nd get application configuration value 118373020dSJacques Vidrine.Sh LIBRARY 128373020dSJacques VidrineKerberos 5 Library (libkrb5, -lkrb5) 135e9cd1aeSAssar Westerlund.Sh SYNOPSIS 145e9cd1aeSAssar Westerlund.Fd #include <krb5.h> 155e9cd1aeSAssar Westerlund.Ft void 165e9cd1aeSAssar Westerlund.Fn krb5_appdefault_boolean "krb5_context context" "const char *appname" "krb5_realm realm" "const char *option" "krb5_boolean def_val" "krb5_boolean *ret_val" 175e9cd1aeSAssar Westerlund.Ft void 185e9cd1aeSAssar Westerlund.Fn krb5_appdefault_string "krb5_context context" "const char *appname" "krb5_realm realm" "const char *option" "const char *def_val" "char **ret_val" 195e9cd1aeSAssar Westerlund.Ft void 205e9cd1aeSAssar Westerlund.Fn krb5_appdefault_time "krb5_context context" "const char *appname" "krb5_realm realm" "const char *option" "time_t def_val" "time_t *ret_val" 215e9cd1aeSAssar Westerlund.Sh DESCRIPTION 225e9cd1aeSAssar WesterlundThese functions get application application defaults from the 235e9cd1aeSAssar Westerlund.Dv appdefaults 245e9cd1aeSAssar Westerlundsection of the 255e9cd1aeSAssar Westerlund.Xr krb5.conf 5 265e9cd1aeSAssar Westerlundconfiguration file. These defaults can be specified per application, 275e9cd1aeSAssar Westerlundand/or per realm. 2845524cd7SAssar Westerlund.Pp 295e9cd1aeSAssar WesterlundThese values will be looked for in 305e9cd1aeSAssar Westerlund.Xr krb5.conf 5 , 315e9cd1aeSAssar Westerlundin order of descending importance. 325e9cd1aeSAssar Westerlund.Bd -literal -offset indent 335e9cd1aeSAssar Westerlund[appdefaults] 345e9cd1aeSAssar Westerlund appname = { 355e9cd1aeSAssar Westerlund realm = { 365e9cd1aeSAssar Westerlund option = value 375e9cd1aeSAssar Westerlund } 385e9cd1aeSAssar Westerlund } 395e9cd1aeSAssar Westerlund appname = { 405e9cd1aeSAssar Westerlund option = value 415e9cd1aeSAssar Westerlund } 425e9cd1aeSAssar Westerlund realm = { 435e9cd1aeSAssar Westerlund option = value 445e9cd1aeSAssar Westerlund } 455e9cd1aeSAssar Westerlund option = value 465e9cd1aeSAssar Westerlund.Ed 474137ff4cSJacques Vidrine.Fa appname 484137ff4cSJacques Vidrineis the name of the application, and 494137ff4cSJacques Vidrine.Fa realm 504137ff4cSJacques Vidrineis the realm name. If the realm is omitted it will not be used for 514137ff4cSJacques Vidrineresolving values. 525e9cd1aeSAssar Westerlund.Fa def_val 534137ff4cSJacques Vidrineis the value to return if no value is found in 544137ff4cSJacques Vidrine.Xr krb5.conf 5 . 555e9cd1aeSAssar Westerlund.Sh SEE ALSO 565e9cd1aeSAssar Westerlund.Xr krb5_config 3 , 575e9cd1aeSAssar Westerlund.Xr krb5.conf 5 58