svn commit: samba r21464 - in branches/SAMBA_4_0/source/librpc/idl:
.
metze at samba.org
metze at samba.org
Tue Feb 20 14:42:54 GMT 2007
Author: metze
Date: 2007-02-20 14:42:53 +0000 (Tue, 20 Feb 2007)
New Revision: 21464
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21464
Log:
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
Modified:
branches/SAMBA_4_0/source/librpc/idl/drsblobs.idl
Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/drsblobs.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/drsblobs.idl 2007-02-20 14:39:13 UTC (rev 21463)
+++ branches/SAMBA_4_0/source/librpc/idl/drsblobs.idl 2007-02-20 14:42:53 UTC (rev 21464)
@@ -303,6 +303,23 @@
[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;
More information about the samba-cvs
mailing list