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_appdefault_boolean  Check Boolean values in appdefault krb5_appdefault_boolean Check Boolean values in appdefault
go to next page: krb5_auth_con_free  Free auth_contextkrb5_auth_con_free Free auth_context
end of book navigation links

krb5_appdefault_string -- Check string values in appdefault 



C Prototype 

void krb5_appdefault_string (
        krb5_context    context,
        const char      *appname,
        const krb5_data *realm,
        const char      *option,
        const char      *default_value,
        char            **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 string value.

Description 

This routine checks the [appdefaults] section of the krb5.conf file. The ret_value argument returns the string 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_boolean for checking Boolean values in the [appdefaults] section of krb5.conf.

Return Values 

None.



go to previous page: krb5_appdefault_boolean  Check Boolean values in appdefault krb5_appdefault_boolean Check Boolean values in appdefault
go to next page: krb5_auth_con_free  Free auth_contextkrb5_auth_con_free Free auth_context