diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-02-20 14:42:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:48:39 -0500 |
commit | c005b91adb6d9e6f4902af114cb0e623be814789 (patch) | |
tree | 47a2e6f68a9209c74f18d86eebb48c07b78c9142 /source4/librpc | |
parent | ea500fbdaef1dd2994c060d32b94c6ea114a1a07 (diff) | |
download | samba-c005b91adb6d9e6f4902af114cb0e623be814789.tar.gz samba-c005b91adb6d9e6f4902af114cb0e623be814789.tar.bz2 samba-c005b91adb6d9e6f4902af114cb0e623be814789.zip |
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)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/drsblobs.idl | 17 |
1 files changed, 17 insertions, 0 deletions
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; |