Age | Commit message (Collapse) | Author | Files | Lines |
|
Remote Data Structure
metze
(This used to be commit 3edbbb12bda8e19a9f5a72849bc79e0fad7976f8)
|
|
We still don't get the format inside the encrypted blob correct
however.
Andrew Bartlett
(This used to be commit 99a3abda09716c064b3e9a37c4a79a8f62444eca)
|
|
(This used to be commit e5520706c88911c66b3ce5817e371900212ca083)
|
|
This produces a C structure that is sane, while still parsing the wire
blobs (as far as I can tell).
Andrew Bartlett
(This used to be commit b5dbe815e5dd3f865c7735bc76e02017a869f09b)
|
|
This is based on the docs, as well as testing against a domain trust
in windows.
Clearly it needs to be more general - perhaps a non IDL parser?
Andrew Bartlett
(This used to be commit 816bb64a56a75d1eb5e879b4abf211af27243686)
|
|
(This used to be commit 26c2a34dec26890230dfa86827804d8160061ce5)
|
|
metze
(This used to be commit 4b79a7678571ac2f7d5f827913fdcb419f5d2e20)
|
|
metze
(This used to be commit 231e6f5ab2dc8a3e991a9872be252cffff6f14c6)
|
|
supplementalCredentials
metze
(This used to be commit 97b7901afbccc9647ad2958d4cf12300de2655d1)
|
|
metze
(This used to be commit da9ceb2bf17f964334d9317829d40483e2c04b10)
|
|
metze
(This used to be commit 24c5b10136f6e640832193aaf9e6d7e865c288bc)
|
|
metze
(This used to be commit 9a70b2237d4fdd523edfbca0329ad35e71faf998)
|
|
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
|
|
(This used to be commit bf08b682586f6b9a17d4ec3934836be957ef955c)
|
|
metze
(This used to be commit f42cc9134004597eff19e477d3ed0693d5e6fef6)
|
|
(This used to be commit 3fd750bd54f150ff62fd8165406bd26d03d624cf)
|
|
metze
(This used to be commit a7be6810771b804932abbf2ace4c2a7c5dd8a349)
|
|
and use the struct member names in all cases
metze
(This used to be commit c543ee57454d006c545e3e9e20c9ac0114081d3d)
|
|
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)
|
|
so that ndr_pull will fail if version isn't 3 and we notice
if the format changes...
metze
(This used to be commit 91f7a094cfd04405c224b9579146d814cba507b3)
|
|
metze
(This used to be commit 18a5bf850bad9643e09e111d8c2c4e2c2efce989)
|
|
metze
(This used to be commit 307aabe0257559a9211f4f627cb38150a24dc40f)
|
|
of supplementalCredentials
metze
(This used to be commit b708d0729e03a78868f18fd37c9a01d7c75c900e)
|
|
metze
(This used to be commit 925f1f40cf8318d0a72fe3da958db52ccbf14b39)
|
|
- fix parsing of Primary:Kerberos blob
metze
(This used to be commit c6fa95ef2263774901c8871396b4eec5b7409c5e)
|
|
inside the supplementalCredentials attribute
w2k uses keys1 and keys2 where both seem identical
w2k3 only uses keys1 and num_keys2 = 0
the Salt is only stored once for all keys
the following keys are stored:
ENTYPE_DES_CBC_MD5 = 3
ENTYPE_DES_CBC_CRC = 1
metze
(This used to be commit 03d7d05e4fa607271f84878bc238e7cf0560bc67)
|
|
not everything has a meaning yet, but it's a start and we know how to get
to the password in cleartext
metze
(This used to be commit 65641181f782349f1f0192d1c95254e80e2b3887)
|
|
metze
(This used to be commit 2b7d7487510898dffc900bfcec88ed57c709858c)
|
|
the package specific data is present as hex string,
we'll need to add parsers for each package later.
metze
(This used to be commit 6a725ae2610ba3d8f95782f90745593d436a4786)
|
|
it doesn't work yet but it's a start
metze
(This used to be commit 0417e12c84836c02e26f09c598ae5f2a7d5427b6)
|
|
as w2k3 doesn't return it when you ask for we don't know
the exact format, but we assume that it starts with a uint32 version
and as this attribute is not replicated we can chosse our own version...
metze
(This used to be commit cf546b7c182f6a9b636023377b5260d155bc15dd)
|
|
metze
(This used to be commit 352d88c8a8ebe4d0ab9f89c9e7eadc3c29d5cdd2)
|
|
(This used to be commit 1df96af3103795f609165e7a7344e1bf6046be79)
|
|
metze
(This used to be commit 58066e2252001b7689705d296a16438733cfdfc4)
|
|
metze
(This used to be commit f7f9f174d77ddf7d4880b430b5dc7154ea1ddb3b)
|
|
(This used to be commit 347ae9628202ca4de4318ef8156999239aad9192)
|
|
Andrew Bartlett
(This used to be commit cde98e9ad1990ae9da89d6449b3f0e15f00f4e54)
|
|
seperate file
metze
(This used to be commit 3c8bc98c1bc654287a3a16277c7c63c476ddfff4)
|
|
metze
(This used to be commit d003654b1c1cbc00602e994b83f40fcfcf349596)
|
|
are independent...
fix some warnings
metze
(This used to be commit 6ae621437cdfd9ca5beac1d056f60d875a057b22)
|
|
metze
(This used to be commit 31d2bf3ca15842ff3f7a74aa35e3753fadba6177)
|
|
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
(This used to be commit 6967b9884970b6f1d7617196ab024d401628a13c)
|
|
(This used to be commit b773d848e854394f36351f97130a20a245367b2c)
|
|
us somewhat cleaner IDL.
(This used to be commit b7b01bccd101654d1f5ec83cba9dea7e9431d6ce)
|
|
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
|
|
I think I now understand how it works:-)
metze
(This used to be commit f8add2e66a56896d9bb18991091e1b17c29910b1)
|
|
to make things more clear
metze
(This used to be commit adefeeb4f362dba06cddacf6f58194ef1f967ec9)
|
|
metze
(This used to be commit 29d898a338e20c76a2270557b0c401a9672af094)
|
|
array can now only be :
type *name[];
rather then :
type *name;
which was supported in the past. Warnings will be given when the first
syntax is used. Reasons for this change in behaviour include improved
readability and the fact that the second format makes dealing with multiple
levels of pointers harder.
(This used to be commit a416de5825c540fd3741731c4be05e9a659a6fdb)
|
|
is assumed to be "ptr" if not specified (just like midl).
The validator will warn when "ptr" is used at the moment, because
pidl only supports unique, ref and relative at the moment.
(This used to be commit 31bed62a9a6f7830f523d509b67970648d40aaef)
|