Skip to content

Latest commit

 

History

History
121 lines (81 loc) · 4.72 KB

nc-authif-pradius_extension_process.md

File metadata and controls

121 lines (81 loc) · 4.72 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NC:authif.PRADIUS_EXTENSION_PROCESS
PRADIUS_EXTENSION_PROCESS (authif.h)
The RadiusExtensionProcess function is an application-defined function and is called by NPS for each authentication or accounting packet that NPS receives from the network access server (NAS).
PRADIUS_EXTENSION_PROCESS
PRADIUS_EXTENSION_PROCESS callback
PRADIUS_EXTENSION_PROCESS callback function [Network Policy Server]
RadiusExtensionProcess
_ias_radiusextensionprocess
authif/PRADIUS_EXTENSION_PROCESS
ias.radiusextensionprocess
nps.IAS_radiusextensionprocess
nps\IAS_radiusextensionprocess.htm
Nps
75af0d43-f866-4769-8221-45e47c588bb0
12/05/2018
PRADIUS_EXTENSION_PROCESS, PRADIUS_EXTENSION_PROCESS callback, PRADIUS_EXTENSION_PROCESS callback function [Network Policy Server], RadiusExtensionProcess, _ias_radiusextensionprocess, authif/PRADIUS_EXTENSION_PROCESS, ias.radiusextensionprocess, nps.IAS_radiusextensionprocess
authif.h
Windows
None supported
Windows Server 2008
Windows
19H1
PRADIUS_EXTENSION_PROCESS
authif/PRADIUS_EXTENSION_PROCESS
c++
APIRef
kbSyntax
UserDefined
AuthIf.h
PRADIUS_EXTENSION_PROCESS

PRADIUS_EXTENSION_PROCESS callback function

-description

Note  Internet Authentication Service (IAS) was renamed Network Policy Server (NPS) starting with Windows Server 2008. The content of this topic applies to both IAS and NPS. Throughout the text, NPS is used to refer to all versions of the service, including the versions originally referred to as IAS.
 
The RadiusExtensionProcess function is an application-defined function and is called by NPS for each authentication or accounting packet that NPS receives from the network access server (NAS).

-parameters

-param pAttrs [in]

Pointer to an array of attributes from the request. The array is terminated by an attribute with dwAttrType set to ratMinimum. These attributes should be treated as read-only; they should not be modified by RadiusExtensionProcess. Also, these attributes should not be referenced in any way after RadiusExtensionProcess returns.

-param pfAction [out]

Pointer to a value of type RADIUS_ACTION, initially set to raContinue. This parameter specifies the action that NPS should take in response to an Access-Request.

-returns

If the function succeeds, the return value is NO_ERROR.

If the function fails, the return value should be an appropriate error code from Winerror.h.

-remarks

If the return value is anything other than NO_ERROR, NPS discards the request.

NPS supports multiple Extension DLLs. NPS calls RadiusExtensionProcess for each of the DLLs listed in the registry. For more information see Setting Up the Extension DLLs.

The Extension DLL may export RadiusExtensionProcessEx instead of RadiusExtensionProcess. The Extension DLL may export RadiusExtensionProcess2.

For more information on the use of this function, see NPS Extensions Process.

-see-also

About NPS Extensions

NPS Extensions Functions

NPS Extensions Reference

RADIUS_ACTION

RADIUS_ATTRIBUTE

RADIUS_ATTRIBUTE_TYPE

RadiusExtensionProcess2

RadiusExtensionProcessEx