diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-03-24 06:30:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:16 -0500 |
commit | a19d002ceea84b0b7350b1b3ebf181a03ac5b494 (patch) | |
tree | 3d300530d2c61c0f13202781530d0f575fed636f /source4/librpc/idl | |
parent | 21d9419b1e4d6ef113a26382315ad96b3509d156 (diff) | |
download | samba-a19d002ceea84b0b7350b1b3ebf181a03ac5b494.tar.gz samba-a19d002ceea84b0b7350b1b3ebf181a03ac5b494.tar.bz2 samba-a19d002ceea84b0b7350b1b3ebf181a03ac5b494.zip |
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)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/netlogon.idl | 7 |
1 files changed, 6 insertions, 1 deletions
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 ); |