AddRadiusServer function

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


HRESULT WINAPI AddRadiusServer(
  _In_  PWCHAR Address
);

Parameters

Address [in]

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 codeDescription
ERROR_INVALID_PARAMETER

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.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Iscsidsc.h

Library

Iscsidsc.lib

DLL

Iscsidsc.dll

Unicode and ANSI names

AddRadiusServerW (Unicode) and AddRadiusServerA (ANSI)

See also

RemoveRadiusServer

 

 

Community Additions

ADD
Show:
© 2014 Microsoft