From a19d002ceea84b0b7350b1b3ebf181a03ac5b494 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 24 Mar 2005 06:30:38 +0000 Subject: r6032: Fix up SetServerPassword2 on NETLOGON for [bigendian]. Clearly nobody has the patience to run test_w2k3.sh to completion :-) It looks to me that the Windows server runs the RC4 over the C struct, not the NDR data. Andrew Bartlett (This used to be commit c324d974134c35b4c50c91d5a932a63c78b67046) --- source4/librpc/idl/netlogon.idl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl index b99f13638d..c97a640d18 100644 --- a/source4/librpc/idl/netlogon.idl +++ b/source4/librpc/idl/netlogon.idl @@ -1014,6 +1014,11 @@ interface netlogon [out,switch_is(level)] netr_DomainInfo info ); + typedef [flag(NDR_PAHEX)] struct { + uint16 data[256]; + uint32 length; + } netr_CryptPassword; + /*****************/ /* Function 0x1e */ NTSTATUS netr_ServerPasswordSet2( @@ -1022,7 +1027,7 @@ interface netlogon [in] netr_SchannelType secure_channel_type, [in] unistr computer_name, [in] netr_Authenticator credential, - [in] samr_CryptPassword new_password, + [in] netr_CryptPassword new_password, [out] netr_Authenticator return_authenticator ); -- cgit