diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-05-30 13:15:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:21 -0500 |
commit | 6a0ce94d025d4288c87080c0f4d6e3013559794c (patch) | |
tree | f8685df85062230d79fbbc063d023bc20f19bcab /source4/librpc | |
parent | 45fd1ba4ec4bc17fd73a6e3e787b3f2205b49ed1 (diff) | |
download | samba-6a0ce94d025d4288c87080c0f4d6e3013559794c.tar.gz samba-6a0ce94d025d4288c87080c0f4d6e3013559794c.tar.bz2 samba-6a0ce94d025d4288c87080c0f4d6e3013559794c.zip |
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)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/netlogon.idl | 28 |
1 files changed, 18 insertions, 10 deletions
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 */ |