From c005b91adb6d9e6f4902af114cb0e623be814789 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 20 Feb 2007 14:42:53 +0000 Subject: r21464: add parsing code for the Primary:WDigest blob the hashes are MD5("user:realm:password") which a lot of user and realm combinations see: http://fresh.t-systems-sfr.com/unix/src/www/httpauth-0.6.tar.gz:a/httpauth-0.6/tools/mkha1.c metze (This used to be commit f764941af6a13b59ea604b4b5c275da802b3e061) --- source4/librpc/idl/drsblobs.idl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/drsblobs.idl b/source4/librpc/idl/drsblobs.idl index 3b912548a2..396332107d 100644 --- a/source4/librpc/idl/drsblobs.idl +++ b/source4/librpc/idl/drsblobs.idl @@ -303,6 +303,23 @@ interface drsblobs { [in] package_PrimaryCLEARTEXTBlob blob ); + typedef [flag(NDR_PAHEX)] struct { + uint8 hash[16]; + } package_PrimaryWDigestHash; + + typedef [public] struct { + [value(0x31)] uint16 unknown1; + [value(0x01)] uint8 unknown2; + uint8 num_hashes; + [value(0)] uint32 unknown3; + [value(0)] udlong uuknown4; + package_PrimaryWDigestHash hashes[num_hashes]; + } package_PrimaryWDigestBlob; + + void decode_PrimaryWDigest( + [in] package_PrimaryWDigestBlob blob + ); + typedef struct { NTTIME time1; uint32 unknown1; -- cgit