Authentication-Service Constants

The authentication service constants represent the authentication services passed to various run-time functions.

The following constants are valid values for the AuthnSvc parameter.

Constant/value Description
RPC_C_AUTHN_NONE
0
No authentication.
RPC_C_AUTHN_DCE_PRIVATE
1
Use Distributed Computing Environment (DCE) private key authentication.
RPC_C_AUTHN_DCE_PUBLIC
2
DCE public key authentication (reserved for future use).
RPC_C_AUTHN_DEC_PUBLIC
4
DEC public key authentication (reserved for future use).
RPC_C_AUTHN_GSS_NEGOTIATE
9
Use the Microsoft Negotiate SSP. This SSP negotiates between the use of the NTLM and Kerberos protocol Security Support Providers (SSP).
RPC_C_AUTHN_WINNT
10
Use the Microsoft NT LAN Manager (NTLM) SSP.
RPC_C_AUTHN_GSS_SCHANNEL
14
Use the Schannel SSP. This SSP supports Secure Socket Layer (SSL), private communication technology (PCT), and transport level security (TLS).
RPC_C_AUTHN_GSS_KERBEROS
16
Use the Microsoft Kerberos SSP.
RPC_C_AUTHN_DPA
17
Use Distributed Password Authentication (DPA).
RPC_C_AUTHN_MSN
18
Authentication protocol SSP used for the Microsoft Network (MSN).
RPC_C_AUTHN_DIGEST
21
Windows XP or later: Use the Microsoft Digest SSP
RPC_C_AUTHN_NEGO_EXTENDER
30
Windows 7 or later: Reserved. Do not use
RPC_C_AUTHN_MQ
100
This SSP provides an SSPI-compatible wrapper for the Microsoft Message Queue (MSMQ) transport-level protocol.
RPC_C_AUTHN_DEFAULT
0xffffffff
Use the default authentication service.

Remarks

Specify RPC_C_AUTHN_NONE to turn off authentication for remote procedure calls made over a binding handle. When you specify RPC_C_AUTHN_DEFAULT, the RPC run-time library uses the RPC_C_AUTHN_WINNT authentication service for remote procedure calls made using the binding handle.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Rpcdce.h

See also

RpcBindingInqAuthInfo

RpcBindingSetAuthInfo

RpcBindingInqAuthClient

RpcBindingInqAuthClientEx

RpcBindingSetAuthInfoEx

RpcBindingInqAuthInfoEx