IMA_SetInitiatorAuthMethods - Sets the authentication methods for the specified LHBA when used as an initiator
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_SetInitiatorAuthMethods( /* in */ IMA_OID lhbaOid, /* in */ IMA_UINT methodCount, /* in */ const IMA_AUTHMETHOD *pMethodList );
The object ID of a logical host bus adapter (LHBA) whose authentication methods are to be set.
The number of authentication methods in the pMethodList argument. There is at least one entry in the list.
A list of one or more authentication methods that the LHBA will use for all targets with which the LHBA communicates.
The IMA_SetInitiatorAuthMethods() API sets the authentication methods for the specified LHBA when used as an initiator.
Returned if a reboot is necessary before the setting of the specified authentication methods takes effect
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
Returned if the method argumentCount is zero
Returned if the pMethodList argument is NULL, or specifies a memory area from which data cannot be read
Returned if the pMethodList argument contains duplicate authentication methods
Returned if the pMethodList argument contains an unsupported authentication method
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_GetSupportedAuthMethods(3IMA), IMA_GetInUseInitiatorAuthMethods(3IMA)