[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

Content starts here
HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 6 KRB5 (Kerberos V5) Application Programming Interface

krb5_appdefault_string — Check string values in appdefault

 » Table of Contents

 » Glossary

 » Index

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.