Skip to content

Latest commit

 

History

History
75 lines (60 loc) · 2.73 KB

nf-iscsidsc-setiscsiinitiatorradiussharedsecret.md

File metadata and controls

75 lines (60 loc) · 2.73 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
NF:iscsidsc.SetIScsiInitiatorRADIUSSharedSecret
SetIScsiInitiatorRADIUSSharedSecret function (iscsidsc.h)
SetIscsiInitiatorRADIUSSharedSecret function establishes the Remote Authentication Dial-In User Service (RADIUS) shared secret.
SetIScsiInitiatorRADIUSSharedSecret
SetIscsiInitiatorRADIUSSharedSecret
SetIscsiInitiatorRADIUSSharedSecret function [iSCSI Discovery Library API]
iscsidisc.setiscsiinitiatorradiussharedsecret
iscsidsc/SetIscsiInitiatorRADIUSSharedSecret
iscsidisc\setiscsiinitiatorradiussharedsecret.htm
iSCSIDisc
a723256f-adde-4bf2-aab7-152693fa9a21
12/05/2018
SetIScsiInitiatorRADIUSSharedSecret, SetIscsiInitiatorRADIUSSharedSecret, SetIscsiInitiatorRADIUSSharedSecret function [iSCSI Discovery Library API], iscsidisc.setiscsiinitiatorradiussharedsecret, iscsidsc/SetIscsiInitiatorRADIUSSharedSecret
iscsidsc.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Iscsidsc.lib
Iscsidsc.dll
Windows
19H1
SetIScsiInitiatorRADIUSSharedSecret
iscsidsc/SetIScsiInitiatorRADIUSSharedSecret
c++
APIRef
kbSyntax
DllExport
Iscsidsc.dll
SetIscsiInitiatorRADIUSSharedSecret

SetIScsiInitiatorRADIUSSharedSecret function

-description

The SetIscsiInitiatorRADIUSSharedSecret function establishes the Remote Authentication Dial-In User Service (RADIUS) shared secret.

-parameters

-param SharedSecretLength [in]

A ULONG value that represents the size, in bytes, of the shared secret contained by the buffer specified by SharedSecret. The shared secret must be at least 22 bytes, and less than, or equal to, 26 bytes in size.

-param SharedSecret [in]

A string that specifies the buffer containing the shared secret.

-returns

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.

-remarks

When an initiator attempts to log in to a target, the initiator can use the RADIUS server for authentication, or to authenticate a target. During this process the initiator uses the SharedSecret to communicate with the RADIUS server.

-see-also

LoginIscsiTarget