HP-UX AAA Server A.07.01 Administrator's Guide
Return
Returns a pointer to the authreq found or NULL if the operation fails.
char *sdk_get_config_dir()
Obtains the AAA configuration directory and returns the name of the configuration
directory. The default configuration directory is /etc/opt/aaa/.
Return
Returns the name of the configuration directory if the operation succeeds, or NULL if
the operation fails.
int sdk_set_authreq()
int sdk_set_authreq(sdk_authreq_t *authreq, u_char infotype,
uint32_t len, void *value)
Usage
Sets fields for an authentication request. In the current version of the HP-UX AAA
Server, the only valid (supported) field is the expiration time for an authentication
request.
Input
authreq A pointer to an authreq.
infotype
The information type. It can be set to AUTHREQ_EXPIRE_TIME (the time
to live of an authentication request. The time to live has a type of unsigned
character).
len The length of the value to be set in bytes.
value A pointer pointing to the value to be set.
Return
Returns one of the following values:
• SDK_SUCCESS if the operation succeeds.
• SDK_INVALID_ARG if the arguments are invalid.
• SDK_FAILURE if the operation fails.
int sdk_get_client_info()
int sdk_get_client_info(char *client, u_char infotype, uint32_t
*len, void **value)
Usage
Obtains the configuration information from a client entry with matching host_name
or IP address
Input
client String representation of client IPv4 or IPv6 address, or the fully qualified
domain name of the client.
442 Header Files, Data Structures, and APIs in the HP-UX AAA Server SDK