NetrServerAuthenticate2 (Opnum 15)

The NetrServerAuthenticate2 method<163> is a predecessor to the NetrServerAuthenticate3 method, as specified in section 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, 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.