Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Thursday, June 13, 2019
 
 

IMA_SetRadiusAccess (3IMA)

Name

IMA_SetRadiusAccess - Configures RADIUS access for the specified LHBA, PHBA or network portal

Synopsis

cc [ flag... ] file... -lima [ library... ]
#include <ima.h>

IMA_STATUS IMA_SetRadiusAccess(
     /* in */     IMA_OID oid,
     /* in */     IMA_RADIUS_PROPERTIES *radiusProps
);

Parameters

oid

The object ID of the logical host bus adapter (LHBA) , physical host bus adapter (PHBA) or network portal whose RADIUS access properties are being set

radiusProps

A pointer to an IMA_RADIUS_PROPERTIES data structure allocated by the caller containing the values to be set

Description

The IMA_SetRadiusAccess() API configures RADIUS access for the specified LHBA, PHBA or network portal.

Return Values

IMA_STATUS_REBOOT_NECESSARY

Returned if a reboot is necessary before this call will take effect

IMA_ERROR_NOT_SUPPORTED

Returned if the enabling or disabling of RADIUS server access is unsupported by the LHBA, PHBA or network portal

IMA_ERROR_INVALID_OBJECT_TYPE

Returned if the oid argument does not specify a valid object type

IMA_ERROR_INCORRECT_OBJECT_TYPE

Returned if the oid argument does not specify a PHBA, LHBA, or network portal object

IMA_ERROR_OBJECT_NOT_FOUND

Returned if the oid argument does not specify a PHBA, LHBA, or network portal known to the system

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library/storage/snia-ima
Interface Stability
Volatile
MT-Level
Safe

See Also

libima(3LIB), attributes(7), IMA_GetRadiusAccess(3IMA)