IMA_SetInitiatorAuthParms - Sets the parameters for the authentication method specified for a specified LHBA
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_SetInitiatorAuthParms( /* in */ IMA_OID lhbaOid, [in[ IMA_AUTHMETHOD method, /* in */ const IMA_INITIATOR_AUTHPARMS *pParms );
The object ID of the logical host bus adapter (LHBA) whose authentication parameters are to be retrieved
The authentication method of the LHBA whose authentication parameters are to be retrieved
A pointer to an IMA_INITIATOR_AUTHPARMS data structure that contains the parameters to be associated with the specified authentication method
The IMA_SetInitiatorAuthParms() API sets the parameters for the authentication method specified for a specified LHBA.
Returned if a reboot is necessary before the setting of the authentication parameters takes effect.
Returned if the setting of authentication parameters is not supported by the specified LHBA. In this case, it is likely that LHBA does not support any authentication methods.
Returned if the method argument does not specify a valid or supported authentication method
Returned if the method argument has the value, IMA_AUTHMETHOD_NONE
Returned if the pParms argument is NULL, or specifies a memory area from which data cannot be read
Returned if the lhbaOid argument does not specify a valid object type
Returned if the lhbaOid argument does not specify an LHBA
Returned if the lhbaOid argument does not specify an LHBA known to the system
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_GetInitiatorAuthParms(3IMA)