Partager via


3.5.4.4.4 NetrServerAuthenticate2 (Opnum 15)

The NetrServerAuthenticate2 method<178> is a predecessor to the NetrServerAuthenticate3 method, as specified in section 3.5.4.4.2. All parameters of this method have the same meanings as the identically named parameters of the NetrServerAuthenticate3 method.

 NTSTATUS NetrServerAuthenticate2(
   [in, unique, string] LOGONSRV_HANDLE PrimaryName,
   [in, string] wchar_t* AccountName,
   [in] NETLOGON_SECURE_CHANNEL_TYPE SecureChannelType,
   [in, string] wchar_t* ComputerName,
   [in] PNETLOGON_CREDENTIAL ClientCredential,
   [out] PNETLOGON_CREDENTIAL ServerCredential,
   [in, out] ULONG * NegotiateFlags
 );

Message processing is identical to NetrServerAuthenticate3, except for the following:

The AccountRid parameter is not present in NetrServerAuthenticate2.