summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/drsblobs.idl
AgeCommit message (Collapse)AuthorFilesLines
2008-10-18idl: share drsblobs idl.Günther Deschner1-521/+0
Guenther
2008-10-16Create a 'straight paper path' for UTF16 passwords.Andrew Bartlett1-1/+1
This uses a virtual attribute 'clearTextPassword' (name chosen to match references in MS-SAMR) that contains the length-limited blob containing an allegidly UTF16 password. This ensures we do no validation or filtering of the password before we get a chance to MD4 it. We can then do the required munging into UTF8, and in future implement the rules Microsoft has provided us with for invalid inputs. All layers in the process now deal with the strings as length-limited inputs, incluing the krb5 string2key calls. This commit also includes a small change to samdb_result_passwords() to ensure that LM passwords are not returned to the application logic if LM authentication is disabled. The objectClass module has been modified to allow the clearTextPassword attribute to pass down the stack. Andrew Bartlett
2008-10-06Clarify use of manual parsers in trustInOutBlob (drsblobs.idl)Andrew Bartlett1-4/+6
2008-09-29Fix parsing of the trust passwords in LSA CreateTrustedDomainEx*Andrew Bartlett1-8/+17
2008-09-09drsblobs.idl: add parser for ExtendedErrorInfo see [MS-EERR]: ExtendedError ↵Stefan Metzmacher1-4/+72
Remote Data Structure metze (This used to be commit 3edbbb12bda8e19a9f5a72849bc79e0fad7976f8)
2008-09-04More work to implement LSA CreateTrustedDomainEx2Andrew Bartlett1-1/+9
We still don't get the format inside the encrypted blob correct however. Andrew Bartlett (This used to be commit 99a3abda09716c064b3e9a37c4a79a8f62444eca)
2008-09-02Share IDL between the LSA and drsblob representations of trustsAndrew Bartlett1-35/+17
(This used to be commit e5520706c88911c66b3ce5817e371900212ca083)
2008-08-13Rework the trustAuthInOutBlob with the help of a hand parser.Andrew Bartlett1-25/+8
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)
2008-07-31Update to a working trustAuthIncoming and trustAuthOutgoing parser.Andrew Bartlett1-4/+25
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)
2008-07-31Update trustAuthInOutBlob in line with MS-ADTS 7.1.6.8.1Andrew Bartlett1-39/+51
(This used to be commit 26c2a34dec26890230dfa86827804d8160061ce5)
2008-07-24drsblobs.idl: unify the Primary:Kerberos and Primary:Kerberos-Newer-Keys structsStefan Metzmacher1-29/+18
metze (This used to be commit 4b79a7678571ac2f7d5f827913fdcb419f5d2e20)
2008-07-24drsblobs.idl: give some unknowns a meaningStefan Metzmacher1-9/+11
metze (This used to be commit 231e6f5ab2dc8a3e991a9872be252cffff6f14c6)
2008-07-23drsblobs.idl: add idl for Primary:Kerberos-Newer-Keys blob in ↵Stefan Metzmacher1-0/+37
supplementalCredentials metze (This used to be commit 97b7901afbccc9647ad2958d4cf12300de2655d1)
2008-07-23drsblobs.idl: fix unknowns in package_PrimaryKerberos idlStefan Metzmacher1-6/+8
metze (This used to be commit da9ceb2bf17f964334d9317829d40483e2c04b10)
2008-07-23drsblobs.idl: fix idl for supplementalCredentialsSubBlobStefan Metzmacher1-3/+8
metze (This used to be commit 24c5b10136f6e640832193aaf9e6d7e865c288bc)
2008-07-23drsblobs.idl: rename unknown1 -> reservedStefan Metzmacher1-1/+1
metze (This used to be commit 9a70b2237d4fdd523edfbca0329ad35e71faf998)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-1/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-02-21Remove extra whitespace, use public variable in IDL.Jelmer Vernooij1-1/+1
(This used to be commit bf08b682586f6b9a17d4ec3934836be957ef955c)
2008-02-19drsblobs.idl: don't use asclstrStefan Metzmacher1-1/+2
metze (This used to be commit f42cc9134004597eff19e477d3ed0693d5e6fef6)
2008-01-12idl: Use typedef rather than declare.Jelmer Vernooij1-3/+3
(This used to be commit 3fd750bd54f150ff62fd8165406bd26d03d624cf)
2007-10-10r23418: 'S' is 0x53...Stefan Metzmacher1-2/+2
metze (This used to be commit a7be6810771b804932abbf2ace4c2a7c5dd8a349)
2007-10-10r21773: fix typo orginating -> originatingStefan Metzmacher1-3/+3
and use the struct member names in all cases metze (This used to be commit c543ee57454d006c545e3e9e20c9ac0114081d3d)
2007-10-10r21464: add parsing code for the Primary:WDigest blobStefan Metzmacher1-0/+17
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)
2007-10-10r21441: create a union for the PrimaryKerberosBlob contentStefan Metzmacher1-8/+16
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)
2007-10-10r21413: fix pushing of supplementalCredentialsStefan Metzmacher1-6/+6
metze (This used to be commit 18a5bf850bad9643e09e111d8c2c4e2c2efce989)
2007-10-10r21407: auto set the len valuesStefan Metzmacher1-2/+2
metze (This used to be commit 307aabe0257559a9211f4f627cb38150a24dc40f)
2007-10-10r21406: add idl for parsing the 'Packages' and 'Primary:CLEARTEXT' elementsStefan Metzmacher1-0/+16
of supplementalCredentials metze (This used to be commit b708d0729e03a78868f18fd37c9a01d7c75c900e)
2007-10-10r21404: packages just contain utf16 strings not guids:-)Stefan Metzmacher1-9/+3
metze (This used to be commit 925f1f40cf8318d0a72fe3da958db52ccbf14b39)
2007-10-10r21392: - decode the salt utf16 string into a unix stringStefan Metzmacher1-4/+5
- fix parsing of Primary:Kerberos blob metze (This used to be commit c6fa95ef2263774901c8871396b4eec5b7409c5e)
2007-10-10r21380: add idl for parsing the Primary:Kerberos blobsStefan Metzmacher1-0/+29
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)
2007-10-10r21342: add parsing code for the trustAuthIncoming/trustAuthOutgoing attributesStefan Metzmacher1-0/+66
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)
2007-10-10r21331: add comment about how the cleartext password is storedStefan Metzmacher1-0/+7
metze (This used to be commit 2b7d7487510898dffc900bfcec88ed57c709858c)
2007-10-10r21329: complete support for parsing the supplementalCredentials valueStefan Metzmacher1-9/+30
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)
2007-10-10r21323: add a start to parse the supplementalCredentials value,Stefan Metzmacher1-0/+25
it doesn't work yet but it's a start metze (This used to be commit 0417e12c84836c02e26f09c598ae5f2a7d5427b6)
2007-10-10r20732: add idl for storing the prefixMap attributeStefan Metzmacher1-0/+31
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)
2007-10-10r20686: this is a generic uptodateness vectorStefan Metzmacher1-7/+2
metze (This used to be commit 352d88c8a8ebe4d0ab9f89c9e7eadc3c29d5cdd2)
2007-10-10r20566: Prepending with r-> is no longer necessary.Jelmer Vernooij1-1/+1
(This used to be commit 1df96af3103795f609165e7a7344e1bf6046be79)
2007-10-10r20510: fix spellingStefan Metzmacher1-2/+2
metze (This used to be commit 58066e2252001b7689705d296a16438733cfdfc4)
2007-10-10r20391: add idl for the content of the partialAttributeSet attributeStefan Metzmacher1-0/+24
metze (This used to be commit f7f9f174d77ddf7d4880b430b5dc7154ea1ddb3b)
2007-10-10r19588: Use include and import statements rather than depends() and helper().Jelmer Vernooij1-2/+3
(This used to be commit 347ae9628202ca4de4318ef8156999239aad9192)
2007-10-10r15222: Use more standard UUIDs. Should help AIX build.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit cde98e9ad1990ae9da89d6449b3f0e15f00f4e54)
2007-10-10r13624: as abartlet requested, move the saslauthd parsing stuff to a ↵Stefan Metzmacher1-16/+1
seperate file metze (This used to be commit 3c8bc98c1bc654287a3a16277c7c63c476ddfff4)
2007-10-10r13621: add an idl structure to parse saslauthd requestsStefan Metzmacher1-0/+14
metze (This used to be commit d003654b1c1cbc00602e994b83f40fcfcf349596)
2007-10-10r13044: I finally understand that the [charset()] and [string] propertiesStefan Metzmacher1-1/+1
are independent... fix some warnings metze (This used to be commit 6ae621437cdfd9ca5beac1d056f60d875a057b22)
2007-10-10r12982: fix parsing of LDAP DIRSYNC cookiesStefan Metzmacher1-7/+21
metze (This used to be commit 31d2bf3ca15842ff3f7a74aa35e3753fadba6177)
2007-10-10r12465: Merge Parse::Pidl::Samba4::NDR::Header into ↵Jelmer Vernooij1-2/+2
Parse::Pidl::Samba4::NDR::Parser. Small optimization to avoid including NDR headers multiple times (This used to be commit 6967b9884970b6f1d7617196ab024d401628a13c)
2007-10-10r11096: Eliminate pointer_default_top()Jelmer Vernooij1-1/+0
(This used to be commit b773d848e854394f36351f97130a20a245367b2c)
2007-10-10r7552: Use ParseExpr() for [value] attributes; allowsJelmer Vernooij1-1/+1
us somewhat cleaner IDL. (This used to be commit b7b01bccd101654d1f5ec83cba9dea7e9431d6ce)
2007-10-10r6973: Merge new version of pidl into the main SAMBA_4_0 branch.Jelmer Vernooij1-0/+1
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)
2007-10-10r5998: I was wrong with the highwater mark...Stefan Metzmacher1-3/+4
I think I now understand how it works:-) metze (This used to be commit f8add2e66a56896d9bb18991091e1b17c29910b1)