Partager via


3.5.4.4.5 NetrServerAuthenticate (Opnum 5)

The NetrServerAuthenticate method<179> is a predecessor to the NetrServerAuthenticate3 method (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 NetrServerAuthenticate(
   [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
 );

Message processing is identical to NetrServerAuthenticate3, as specified in section 3.5.4.4.2, except for the following:

  • The NegotiateFlags parameter is not present in NetrServerAuthenticate. Message processing would be identical to an invocation of NetrServerAuthenticate3 with the NegotiateFlags parameter set to 0.

  • The AccountRid parameter is not present in NetrServerAuthenticate.