From 6a0ce94d025d4288c87080c0f4d6e3013559794c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 30 May 2004 13:15:15 +0000 Subject: r950: - added netr_ServerAuthenticate3(). This is used by WinXP clients who try to login to Samba4, as WinXP sees us as an ADS server. Unfortunately WinXP also uses a set of negotiate_flags that we don't support yet. Some crypto work needed. (This used to be commit 2d740b65706fb5b4ebc138587472a885d680517f) --- source4/librpc/idl/netlogon.idl | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) (limited to 'source4/librpc/idl/netlogon.idl') diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl index 6888c63ab9..386a98856d 100644 --- a/source4/librpc/idl/netlogon.idl +++ b/source4/librpc/idl/netlogon.idl @@ -268,9 +268,9 @@ interface netlogon /* Function 0x04 */ NTSTATUS netr_ServerReqChallenge( - [in] unistr *server_name, - [in] unistr computer_name, - [in][out] netr_Credential credentials + [in] unistr *server_name, + [in] unistr computer_name, + [in,out,ref] netr_Credential *credentials ); @@ -283,11 +283,11 @@ interface netlogon const int SEC_CHAN_BDC = 6; NTSTATUS netr_ServerAuthenticate( - [in] unistr *server_name, - [in] unistr username, - [in] uint16 secure_channel_type, - [in] unistr computer_name, - [in,out] netr_Credential credentials + [in] unistr *server_name, + [in] unistr username, + [in] uint16 secure_channel_type, + [in] unistr computer_name, + [in,out,ref] netr_Credential *credentials ); @@ -808,7 +808,7 @@ interface netlogon [in] unistr username, [in] uint16 secure_channel_type, [in] unistr computer_name, - [in,out] netr_Credential credentials, + [in,out,ref] netr_Credential *credentials, [in,out,ref] uint32 *negotiate_flags ); @@ -886,7 +886,15 @@ interface netlogon /****************/ /* Function 0x1a */ - WERROR netr_NETRSERVERAUTHENTICATE3(); + NTSTATUS netr_ServerAuthenticate3( + [in] unistr *server_name, + [in] unistr username, + [in] uint16 secure_channel_type, + [in] unistr computer_name, + [in,out,ref] netr_Credential *credentials, + [in,out,ref] uint32 *negotiate_flags, + [out,ref] uint32 *rid + ); /****************/ /* Function 0x1b */ -- cgit