summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/drsuapi.idl
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20417: - fix pushing of drsuapi_DsAttributeValueDataBlobStefan Metzmacher1-2/+2
- make drsuapi_DsReplicaAttribute public so that the ndr_print_* function can be used from the outside metze (This used to be commit f12776b9a9de55d5c67335d5e59c0d83a74ac939)
2007-10-10r20395: Decode more unknowns in the IDL. These are language and codepage IDs!Andrew Bartlett1-2/+2
Try to pass more of the CrackNames test. Make the test quieter. Andrew Bartlett (This used to be commit a6bbfebf52f53f99b0edf52d3c23b72785b97469)
2007-10-10r20360: level -4 of DsReplicaGetInfo(), which gives back all open bind handlesStefan Metzmacher1-2/+2
returned by DsBind() on all drsuapi connection also contains the client ip address. Also the u1 value of the clients DsBindInfoX structure is returned in u5 here... metze (This used to be commit 1adb0fb291d788d0bf10a49b05970ac72eb4764e)
2007-10-10r20359: level -1 of DsGetDomainControllerInfo gives back a listStefan Metzmacher1-8/+21
of all active connections to the Directory Service Agent (DSA) (This can be LDAP or DRSUAPI connections) abartlet: you had just luck by using flag(BIG_ENDIAN) as BIG_ENDIAN is defined in <endian.h>, it should be flag(NDR_BIG_ENDIAN)... metze (This used to be commit c7e639763de1f8ddccfb954227feeaddb7386edc)
2007-10-10r20353: Restructure the DRSUAPI DsGetDomainControllerInfo test, because asAndrew Bartlett1-2/+2
usual things are more complex than they appear. Also remove the incorrect server-side implementation, which blindly assumed some sense of consistancy across the API switch levels. Andrew Bartlett (This used to be commit 79941adbff843f5027dacd31b972deca4a1557ec)
2007-10-10r20315: Implement the server side of DsGetDomainControllerInfo. This is aAndrew Bartlett1-2/+3
supprisingly complex call... It turns out that the in/out parameter 'level' is not in/out, but set seperatly by the server-side code from r->req.req1.level. This commit also breaks out some common code from samldb into samdb. Andrew Bartlett (This used to be commit 2eb9e6445c64840399171f4f56b1e43786dbcfa7)
2007-10-10r20278: make it possible to use oid strings in the drsuapi instead of ↵Stefan Metzmacher1-4/+5
uint8_t arrays with ber encoded oid's metze (This used to be commit bc13b3690166b29df246cc4778b378e9cf2a22d7)
2007-10-10r20251: I found out that the oid-prefix to uint32-id-prefix mapping is ↵Stefan Metzmacher1-57/+60
transferred in replication replies, but I don't know the exact encoding. for example the oids are transferred as: 2.5.4 => uint8_t v[] = { 0x55, 0x04 }; 2.5.5 => uint8_t v[] = { 0x55, 0x05 }; 2.5.6 => uint8_t v[] = { 0x55, 0x06 }; 2.5.18 => uint8_t v[] = { 0x55, 0x12 }; 2.5.20 => uint8_t v[] = { 0x55, 0x14 }; 2.5.21 => uint8_t v[] = { 0x55, 0x15 }; 1.2.840.113556.1.2 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x02 }; 1.2.840.113556.1.3 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x03 }; 1.2.840.113556.1.4 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x04 }; 1.2.840.113556.1.5 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x05 }; 1.2.840.113556.1.5.7000 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x05, 0xb6, 0x58 }; 1.2.840.113549.1.9 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x09 }; 2.16.840.1.113730.3 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03 }; 2.16.840.1.113730.3.1 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03, 0x01 }; 2.16.840.1.113730.3.2 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03, 0x02 }; 0.9.2342.19200300.100.1 => uint8_t v[] = { 0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x01 }; 0.9.2342.19200300.100.4 => uint8_t v[] = { 0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x04 }; 1.3.6.1.4.1.250.1 => uint8_t v[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x81, 0x7a, 0x01 }; 1.3.6.1.4.1.1466.101.119=> uint8_t v[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x8b, 0x3a, 0x65, 0x77 }; if someone knows how the encoding works, please tell me:-) I assume some ASN.1 encoding... metze (This used to be commit aa720a15319392fee5c532959192d0df5bf4c718)
2007-10-10r20230: I found more mappings of OID string to uint32 idStefan Metzmacher1-6/+4
metze (This used to be commit 3d51ce92c272582e19046337ea6b8b2acd60997d)
2007-10-10r20219: add enough knowledge to display the content of attributeSchema objectsStefan Metzmacher1-20/+60
metze (This used to be commit 38ae6ce7b9b5dd733e4e838da04d1c570c450c97)
2007-10-10r20111: this is the total object count of the current replication cycleStefan Metzmacher1-2/+2
metze (This used to be commit 4daa45f98a3bb6f3c245fe61e05681335ef8b5c6)
2007-10-10r20079: the 2nd guid is the source_dsa invocation_id not the objectGUID,Stefan Metzmacher1-2/+2
this wasn't noticed because on the 1st dc in the forest both have the same value metze (This used to be commit 527bd9a0a361e19606e25e885b92da316e740bf9)
2007-10-10r20076: give the guids meaningsStefan Metzmacher1-4/+4
metze (This used to be commit 3f1e88759cce7b05a117928efe73b353b28e8576)
2007-10-10r20074: this values seem to be typos inStefan Metzmacher1-2/+2
http://msdn2.microsoft.com/en-us/library/ms676264.aspx metze (This used to be commit a52d5f6ed9d92890d2a677d9398450f355165de2)
2007-10-10r20064: - fix pushing of DeReplicaObjectIdentifierX, this lets the DsAddEntry()Stefan Metzmacher1-6/+6
request work correctly - the error structures all have the same type metze (This used to be commit 3322dbd901106262b22db35e9ef455a08ac2867c)
2007-10-10r19967: this unknowns are max_object_count and max_ndr_sizeStefan Metzmacher1-7/+8
metze (This used to be commit 3e6264d872e4fc39a8e0712293492ad413345de9)
2007-10-10r19951: this statement is true...Stefan Metzmacher1-3/+2
metze (This used to be commit f79d3435936104813f9492a010c57ea99835702f)
2007-10-10r19847: add idl for DsRemoveDSServer(), this is used when a server unbecomes ↵Stefan Metzmacher1-1/+24
a DC metze (This used to be commit df133cd22a350d422c49844e50a67f4cc1fb61e4)
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-10r18639: Get rid of the keepref supportJelmer Vernooij1-2/+1
(This used to be commit d1364ef0cd8f1a64f44476476323ab390ac4de48)
2007-10-10r17441: add some more attribute with credentials in themStefan Metzmacher1-0/+8
metze (This used to be commit 3e2d923e17544020255b7181219ca26878f6c164)
2007-10-10r17438: extend the commentStefan Metzmacher1-0/+2
metze (This used to be commit 246c35e008fb0cc167cdd1b13db6a50046e3f991)
2007-10-10r16796: Fill in dsr_GetMemberships() / dsr_GetMemberships2().Günther Deschner1-3/+74
This intersting call is apparently used to construct the user token, collect memberships from other DSAs and to retrieve (nested) memberships of a given group. Torture test to follow (once I cleaned it up). Guenther (This used to be commit ca5e133e8c6fca188fcaa834cdcd4cb2cd801d79)
2007-10-10r15776: Don't generate ref pointers in Samba4-generated code. There is no pointJelmer Vernooij1-1/+2
in having pointers for outgoing data when you can already modify the top-level element. This can be overridden (temporarily) by specifying the new "keepref" attribute. Once we've removed keepref from all IDL files, I'll remove this attribute as well. (This used to be commit bdc6dd37503ced8322a671d225122ccffbb8bfec)
2007-10-10r15512: Move uuid functions out of ndr_misc.cJelmer Vernooij1-1/+1
(This used to be commit 54cc9f8ccf30a0f5de1d3bb68d15ec3a8791c162)
2007-10-10r15328: Move some functions around, remove dependencies.Jelmer Vernooij1-6/+5
Remove some autogenerated headers (which had prototypes now autogenerated by pidl) Remove ndr_security.h from a few places - it's no longer necessary (This used to be commit c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
2007-10-10r14361: Support 'helper' attribute in pidl and use it.Jelmer Vernooij1-1/+2
Remove some headers from include/includes.h (they're now only included in the file they are used) (This used to be commit 7213b7498eacac2c2cd03cf6aace376ce153cc7c)
2007-10-10r12465: Merge Parse::Pidl::Samba4::NDR::Header into ↵Jelmer Vernooij1-3/+3
Parse::Pidl::Samba4::NDR::Parser. Small optimization to avoid including NDR headers multiple times (This used to be commit 6967b9884970b6f1d7617196ab024d401628a13c)
2007-10-10r11187: in case the msDS-KeyVersionNumber is replicated (I didn't assume ↵Stefan Metzmacher1-0/+1
this...) show the string in the debug output, and show it with --option="dssync:print_pwd_blobs=yes" metze (This used to be commit 98c1e8e3df90c05691a12bb25357fd75da419c5c)
2007-10-10r11185: - resolve attid for "supplementalCredentials" into a nameStefan Metzmacher1-18/+19
- print "supplementalCredentials" also when --option="dssync:print_pwd_blobs=yes" is used abartlet: this field may contain the krb5 keys... metze (This used to be commit 26c69348ca3ae10128df9832f8b4d9c1024631e2)
2007-10-10r11179: revert to the old code, till jelmer find a solution how toStefan Metzmacher1-1/+1
handle a UTF16 string in a uint8 array metze (This used to be commit d13315f3b135228febcbe9b99d3550363c21da81)
2007-10-10r11105: Warn if conformant arrays are not at the end of a structJelmer Vernooij1-1/+1
Support conformant [string] arrays Eliminate utf8string This breaks xattr binary compatibility with previous versions - is that a problem? (This used to be commit 7596c708ba6642473319a1b699a5a910a639e50d)
2007-10-10r11103: Eliminate ascstrJelmer Vernooij1-4/+4
(This used to be commit c8a0511f37f8cff3e949ffda0bb7fae714d5bbb4)
2007-10-10r11099: Replace unistr with [string] equivalentJelmer Vernooij1-40/+40
(This used to be commit 6a8291c80ee814a6bdc092b3ef53f450f30b44a0)
2007-10-10r11096: Eliminate pointer_default_top()Jelmer Vernooij1-14/+13
(This used to be commit b773d848e854394f36351f97130a20a245367b2c)
2007-10-10r10984: fix valgrind warnings, I had used that to check if w2k3 accept ↵Stefan Metzmacher1-1/+1
random values here, as w2k generates also random stuff here metze (This used to be commit e04c78e4e925ce385651eb0e77e3ea7aee9e8008)
2007-10-10r10870: decompress DsGetNCChangesCtr7 replies, that uses type 2 (MSZIP)Stefan Metzmacher1-19/+57
compression metze (This used to be commit b451137526c4872a808f14ef42b2ed50abce1355)
2007-10-10r9797: - let us parse replication packets with linked attributes fine,Stefan Metzmacher1-2/+16
- also resolve the 0x1f ('member') attid for nicer debugging metze (This used to be commit f6cf38d608d727e2065035604b537e07cb88ded9)
2007-10-10r9527: add the magic Bind GUID's, that are needed to fetch the wholeStefan Metzmacher1-0/+5
tree with DsGeNCChanges(), this is possible as administrator without having a DC account joined to the domain metze (This used to be commit e6f92444d26734ed984ff1b15a359ef94193945a)
2007-10-10r9519: Use the value() value of an element when that element is used inJelmer Vernooij1-1/+1
limited expressions (size_is,length_is,subcontext_size,etc) (This used to be commit 886780c298a794f304b0fce851bbb58c53605d17)
2007-10-10r9518: - remove the subcontext_size() hack from rev 9509Stefan Metzmacher1-14/+44
as it isn't needed - parse some more DsAddEntry() errors - add some more attid constands so that all attribute that are needed for a DsAddEntry in the DC Domain Join are mapped - add value() for __ndr_size, to more attribute container, so that the caller doesn't need to fill them in, that was the reason for getting an NDR_FAULT metze (This used to be commit a9a1a6f861c8db626b3232f057ef0b9c3d0ad1b0)
2007-10-10r9513: - let us parse some more replies of DsAddEntryStefan Metzmacher1-5/+31
- give some stuff a meening metze (This used to be commit 6d9b8d300829f1dcb3faee666c471c40c24c8aaa)
2007-10-10r9509: start to fix the pushing of drsuapi_DsAttributeValueDNString structs,Stefan Metzmacher1-4/+4
this uses a trick with talloc_get_type() to workaround using [value()] vars in [subcontext_size()] metze (This used to be commit 93065f2d3439bceeaa7c2a09679cc6d81472150d)
2007-10-10r8503: remove useless lineStefan Metzmacher1-1/+0
metze (This used to be commit ec31739642a89fb62930a3b8c0fa870aaad5c476)
2007-10-10r8480: fixed a typoAndrew Tridgell1-2/+2
(metze, I assume this was just a typo? it broke the build on oehmesrs6k) (This used to be commit aa68459fe7579b385dd1824680ec641052029a1e)
2007-10-10r8476: add a note that DsAddEntry is very incomplete yetStefan Metzmacher1-0/+8
metze (This used to be commit 53b91754107b790e2349a97069ea03a7bd6ff712)
2007-10-10r8474: add some more attid mappingsStefan Metzmacher1-1/+6
for the password fields metze (This used to be commit 8454d32eb2f0aa4287956951c2550f060f7f10b3)
2007-10-10r7029: Make array support in pidl similar to that in other IDL compilers. We ↵Jelmer Vernooij1-21/+21
should now able to use constructions like these: [size_is(20)] int *x; -> Pointer to array of 20 ints [size_is(20)] int x[]; -> Array of 20 ints [size_is(20)] int *x[]; -> Array of 20 pointers to ints [size_is(20,)] int *x[] -> Array of 20 pointers to ints [size_is(,20)] int *x[]; -> Pointer to array of 20 ints [size_is(,20)] int **x; -> Pointer to pointer to array of 20 ints [size_is(20)] int x[][30]; -> 20 blocks of 30 ints (This used to be commit ecf583da71c2f80be124c17fccdcb284b47e0695)
2007-10-10r6973: Merge new version of pidl into the main SAMBA_4_0 branch.Jelmer Vernooij1-2/+3
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-10r6781: -add some comments on how attributes and objectClasses are identified ↵Stefan Metzmacher1-2/+83
in DRSUAPI -and some comments on what the attribute syntaxes matches what internal datatypes metze (This used to be commit 58c6887da48c2ebdec14529cb81e7589101f7aae)