skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_aname_to_localname  Convert a principal name to a local name krb5_aname_to_localname Convert a principal name to a local...
go to next page: krb5_appdefault_string  Check string values in appdefaultkrb5_appdefault_string Check string values in appdefault
end of book navigation links

krb5_appdefault_boolean -- Check Boolean values in appdefault 



C Prototype 

void krb5_appdefault_boolean(
        krb5_context    context,
        const char      *appname,
        const krb5_data *realm,
        const char      *option,
        int             default_value
        int             *ret_value );

Arguments 

context
(input)
 The context structure.
appname (input)  A pointer to the application name.
realm (input) A pointer to the Kerberos realm name.
option (input) A pointer to the option to be checked.
default_value (input) A default Boolean value to return if no match is found.
ret_value (output) A pointer to the returned Boolean value.

Description 

This routine checks the [appdefaults] section of the krb5.conf file. The ret_value argument returns the Boolean value of the particular option passed in the option argument. The appname argument provides the application name (for example, Telnet) whose option is being checked.

Use krb5_appdefault_string for checking string values in the [appdefaults] section of krb5.conf.

Return Values 

None.



go to previous page: krb5_aname_to_localname  Convert a principal name to a local name krb5_aname_to_localname Convert a principal name to a local...
go to next page: krb5_appdefault_string  Check string values in appdefaultkrb5_appdefault_string Check string values in appdefault