HP-UX AAA Server A.08.00.01 Administrator's Guide
infotype The information type. It can be set to one of the following:
• AUTHREQ_TTL — the time to live of an authentication request. The
time to live has a type of unsigned character.
• AUTHREQ_CODE — the message type or (code) of a request. The
message type (code) has a type of unsigned short.
• AUTHREQ_TARGET_HOST — the target host to which the request
must be sent. It has a type of string.
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.
infotype The information type. Table D-4 lists the valid values of the infotype
parameter.
Table D-4 Possible Values of the infotype Parameter
DescriptionInformation Type Value
The shared secret between the client and
the HP-UX AAA Server. The shared secret
is a character string.
CLIENT_SHARED_SECRET
The UDP port to which authentication or
authorization messages must be sent. The
port has a type of unsigned short.
CLIENT_AUTHEN_PORT
The UDP port to which accounting
messages must be sent. The port has a type
of unsigned short.
CLIENT_ACCT_PORT
Client types, such as CE_DAS, CE_NAS, and
CE_PROXY. For more information on these
CLIENT_TYPE
APIs in the HP-UX AAA Server SDK 583