AddRadiusServerA function (iscsidsc.h)
The AddRadiusServer function adds a new Remote Authentication Dial-In User Service (RADIUS) server to the list referenced by the iSCSI initiator service during authentication.
Syntax
ISDSC_STATUS ISDSC_API AddRadiusServerA(
[in] PSTR Address
);
Parameters
[in] Address
A string that represents the IP address or DNS name associated with the RADIUS server.
Return value
Returns ERROR_SUCCESS if the operation is successful. If the operation fails due to a socket connection error, this function will return a Winsock error code. Other possible error values include:
Return code | Description |
---|---|
|
The supplied Address is invalid. |
Remarks
When the iSCSI initiator service receives a request from the AddRadiusServer user-mode library function to add a RADIUS server, the initiator service saves data associated with the server in non-volatile storage. This allows the iSCSI initiator service to utilize the RADIUS server to authenticate targets or obtain authentication information.
Note
The iscsidsc.h header defines AddRadiusServer as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | iscsidsc.h |
Library | Iscsidsc.lib |
DLL | Iscsidsc.dll |