summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-02-20 14:42:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:39 -0500
commitc005b91adb6d9e6f4902af114cb0e623be814789 (patch)
tree47a2e6f68a9209c74f18d86eebb48c07b78c9142 /source4/librpc/idl
parentea500fbdaef1dd2994c060d32b94c6ea114a1a07 (diff)
downloadsamba-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/idl')
-rw-r--r--source4/librpc/idl/drsblobs.idl17
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;