summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20294: Without this we don't do the ADS join against Win2k3 SP1Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 7a7f1a97644ab420cf43282d6979881c5c4c59b6)
2007-10-10r20293: implement store chunk hook for libnet_BecomeDC()Stefan Metzmacher3-58/+79
metze (This used to be commit aba497f2fdb79e4a61c028501d4d33a3f678ba73)
2007-10-10r20292: set ntds_dn_str if DsAddEntry() was successfulStefan Metzmacher1-0/+4
metze (This used to be commit 5cb59860676e86764cfaf7cd1c6e632c95badeb9)
2007-10-10r20291: implement prepare_db hook of libnet_BecomeDC()Stefan Metzmacher3-4/+47
metze (This used to be commit 07f1075d469833e10c2f0b0d4578221c6a189b04)
2007-10-10r20288: fix a mem leak and remove useless codeStefan Metzmacher1-3/+1
metze (This used to be commit 6d0c788f3dffb7a553464404ebd9c0487d668bc5)
2007-10-10r20286: handle the non oid string cases for pushing tooStefan Metzmacher1-5/+20
metze (This used to be commit 0777a8e749e8df88dd1b9f7be9e4f3012559243b)
2007-10-10r20285: pass more info to check_options hook and move behavior versions etc.Stefan Metzmacher3-72/+93
to the domain and forest structures metze (This used to be commit 15157bf5b94dacc868c49dbf750421eb221868ba)
2007-10-10r20284: Simplify OID primitive BER parsing.Simo Sorce2-91/+100
Do not require an artificial ASN.1 context to be setup. Simo. (This used to be commit 14b3b9861ae47498c74a6643e6979b3d85260a61)
2007-10-10r20283: pass in callbacks to libnet_BecomeDC() from the callerStefan Metzmacher3-15/+40
and implement the check_options call metze (This used to be commit fc9669e2a081a614599f7cdce1e031e8a8134c67)
2007-10-10r20282: prepare callback infrastructure to check if the forest/domainStefan Metzmacher1-0/+46
behaviors and the schema version is what the caller expects. also a callback prepares the new database and commits chunks to the partitions metze (This used to be commit 9b5116be2eb246eda2a4c63e86cf4f15f90b915e)
2007-10-10r20281: remove debug statementStefan Metzmacher1-1/+0
metze (This used to be commit ebbd6263bbc30001e25603c5e4f45393b5fadb3d)
2007-10-10r20280: if the uint8_t array starts with 0xFF, then it's not a OIDStefan Metzmacher1-12/+20
and we return the array as hexstring. this is always in the last array member of the meppings array, and I is always 21 bytes long w2k in mixed mode: FF0000000000000000000000000000000000000000 w2k3 in mixed mode: FF00000002A5DA73B101C43B449028E2F832FE466F w2k3 in native mode: FF00000001635D94BDE62E2C4C9BAC9D6AFA4F69F8 I assume it's some kind of schema version... metze (This used to be commit db16f6382da50167b6cefdaeb8488b00a45fb928)
2007-10-10r20278: make it possible to use oid strings in the drsuapi instead of ↵Stefan Metzmacher4-5/+148
uint8_t arrays with ber encoded oid's metze (This used to be commit bc13b3690166b29df246cc4778b378e9cf2a22d7)
2007-10-10r20277: make sure the asn1 structure has a welldefined state after a asn1_free()Stefan Metzmacher1-0/+2
metze (This used to be commit 7e7d1a1da2d64d28915a06c399072de1caf108c4)
2007-10-10r20276: remove unneeded talloc_strdup()Stefan Metzmacher1-3/+3
metze (This used to be commit c4733b20c7c113dc1abfb2219a899b80bbcc2875)
2007-10-10r20275: we should check for the oid the caller gave us!Stefan Metzmacher1-1/+1
metze (This used to be commit 4b9e196288f2deb3594db9ba2dd36d774e774574)
2007-10-10r20274: add missing return statement and make it more explicit that we ↵Stefan Metzmacher1-2/+3
return a NULL DATA_BLOB metze (This used to be commit 7256481f08b5e860308e73c2b51926b55b1f4c43)
2007-10-10r20272: Fix for BASE-BENCH-READWRITE from Mathias Dietz <MDIETZ@de.ibm.com>Volker Lendecke1-4/+3
(This used to be commit b053a7df8453527a9c2dfc03f3c35487fe75676f)
2007-10-10r20259: add function to start a fake tag so that asn1_read_OID_String()Stefan Metzmacher1-0/+19
can work alone metze (This used to be commit ea70f6ff07930951d98a952b03963d0ba358fec4)
2007-10-10r20258: add functions to read and write asn1 encoded OID strings without ↵Stefan Metzmacher2-22/+63
leading tag metze (This used to be commit 576d4c54cca844164b90e5d6ec71fe44b59607b7)
2007-10-10r20251: I found out that the oid-prefix to uint32-id-prefix mapping is ↵Stefan Metzmacher4-63/+66
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-10r20234: metze pointed out that we are re-loading the cache records on eachAndrew Tridgell1-0/+4
write. We should only be doing this if another process writes and changes the seqnum. This avoids the extra cache loads (This used to be commit 65858ebb68c25a672e9284e8cba9a6675902f1df)
2007-10-10r20233: add functions to create a dsdb_attribute and dsdb_class fromStefan Metzmacher2-1/+264
a drsuapi_DsReplicaObject metze (This used to be commit 9168236ddd3d8ed9daa1e47be1e6b12d2bc348b6)
2007-10-10r20232: specify attribute name and structure element name always togetherStefan Metzmacher1-66/+81
there're a view elements where both values doesn't match LDAP-SCHEMA now successful loads the schema metze (This used to be commit 5d7827f45ec05acaca28c94fd6a5d25f148d011c)
2007-10-10r20231: - add more oid => uint32 id mappingsStefan Metzmacher2-3/+54
- handle the case where mappings for 1.2.3.4. and 1.2.3.4.5. prefixes exist - extend test suite for the mappings metze (This used to be commit 3af0a9b2c490ed1e4cd0af7faf814823bc60c264)
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-10r20226: rename macros with a _LDB at the end, because I'll add macros with _DSStefan Metzmacher1-52/+52
soon metze (This used to be commit e5b67046c255c7dec07acf3ddc158278997502e3)
2007-10-10r20225: we can't use composite_error() in a _recv() function, as that wouldStefan Metzmacher1-1/+4
trigger the caller to call the _recv() function again and will be an endless loop. this is just a fix the to prevent this, and use a more usefull error code than NT_STATUS_UNSUCCESSFUL I think we should move the checks about valid responses into the function which receives the the response (here continue_name_found()), so that the _recv() function only needs to transfer the output vars to the caller without any logic to analyse the network response. metze (This used to be commit c02048f4800fe14e975f1cf0b5bd45f14261ac18)
2007-10-10r20224: the struct element msDs_Schema_Extensions and the attribute name ↵Stefan Metzmacher1-5/+5
"msDs-Schema-Extensions" doesn't match so we need to pass 2 parameters to the GET_BLOB() macro metze (This used to be commit e50cf96fea1318853a8cfc0061afcad9cbad7e2c)
2007-10-10r20223: this function is in the torture test nowStefan Metzmacher1-54/+0
metze (This used to be commit 66c4b42f5f4c48e9c288781208ecdd4849c2f939)
2007-10-10r20222: return status unsuccessful when null pointers are returnedRafal Szczesniak1-1/+3
from lookup call. rafal (This used to be commit 0eb605cf423faee2111b3d70cef1c578564a0fb5)
2007-10-10r20221: - move the dsdb_schema, dsdb_attribute, dsdb_class structs intoStefan Metzmacher5-160/+514
a generic location - this struct should be also used by the dsdb/samdb/ldb_modules/schema.c module later - add functions to map from LDAP OID values to uint32_t values - add torture test for the OID => uint32 mapping code metze (This used to be commit 58ba6ec195ce3a5e2352866809f6cb57f8d8260a)
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-10r20213: add 2 error codes related to the msDs-IntId attributeStefan Metzmacher2-0/+4
metze (This used to be commit dd5df84cccd10e9880648eecbff6faf7252d5e73)
2007-10-10r20205: remove unused varStefan Metzmacher1-2/+0
metze (This used to be commit a77e1bd1b48e953773db47a5469b1712794f26cf)
2007-10-10r20204: use symbolic constantStefan Metzmacher1-1/+1
metze (This used to be commit a816c2973a5cded5d2e520f35a79dc519205f350)
2007-10-10r20198: let the IBM checker ignore the warning about a missing breakStefan Metzmacher1-1/+2
statement... metze (This used to be commit 6b20123c10b8812759b0876990766adc207bc5b4)
2007-10-10r20195: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit 9d06a4b6e22e18bdaa4383c7b9ab8af058c157c0)
2007-10-10r20194: inline all static talloc functionsStefan Metzmacher1-4/+6
metze (This used to be commit ee47b404412299ac0e341f0d269adc21a7ebc603)
2007-10-10r20193: - let talloc_parent_chunk() handle a NULL pointerStefan Metzmacher2-15/+12
- use talloc_parent_chunk() in talloc_parent_name() - add prototype of talloc_parent_name() metze (This used to be commit 85fc18f047cd2132d0c455f739ee76ce5005d7ed)
2007-10-10r20192: I assume a 'break' is the correct thing to do here,Stefan Metzmacher1-0/+1
simo,tridge: please check this. found by the IBM checker metze (This used to be commit 5ac373c8b853d4527a095111253f3cb10522f5e8)
2007-10-10r20191: fix bug found by the IBM checkerStefan Metzmacher1-1/+1
metze (This used to be commit 4c1e4bfeef8d93583b6d4345dbb1b8fa90368308)
2007-10-10r20190: fix the ldb_ldap backendStefan Metzmacher1-1/+0
metze (This used to be commit 6b7eb5d68e769fd5450c5d92c3ece4c471aaeae9)
2007-10-10r20189: remove unused struct elementStefan Metzmacher4-6/+0
metze (This used to be commit d20d1872d5ed1176928b85ef9811c6a5177d0148)
2007-10-10r20188: move back to an default attribute handler and not use the '*' attributeStefan Metzmacher1-2/+15
to not conflict with the one that maybe added via the @ATTRIBUTES object this is just to make the test-tdb-feature.sh torture test happy There's still a bug when a attribute is registered multiple time without removing old ldb_schema_attribute instances. But this bug was there before my changes too and was just triggered by my changes metze (This used to be commit 70c4a367433f8c54bdd940eb0a6a24ab976a4063)
2007-10-10r20187: fix the build on systems without sqlite3Stefan Metzmacher1-0/+4
metze (This used to be commit 216713d9a034984ffb40889b42837b91abae862a)
2007-10-10r20185: - SMB_ENABLE() needs upper case YES/NOStefan Metzmacher2-27/+29
- fix compilation of the ldb_sqlite3 module metze (This used to be commit 39c41be0ac5bfa39c4ff3267b1a8291857e3a034)
2007-10-10r20184: change ldb_attrib_handler into ldb_schema_attribute, which has a pointerStefan Metzmacher16-391/+254
to a ldb_schema_syntax struct. the default attribute handler is now registered dynamicly as "*" attribute, instead of having its own code path. ldb_schema_attribute's can be added to the ldb_schema given a ldb_schema_syntax struct or the syntax name we may also need to introduce a ldb_schema_matching_rule, and add a pointer to a default ldb_schema_matching_rule in the ldb_schema_syntax. metze (This used to be commit b97b8f5dcbce006f005e53ca79df3330e62f117b)
2007-10-10r20182: make the composite api usage more consistant (only cosmetic change)Stefan Metzmacher1-0/+1
metze (This used to be commit 1f67433914bfab83bf1950263809c9e152ad6dcc)
2007-10-10r20177: return the actual function status code.Rafal Szczesniak1-0/+2
rafal (This used to be commit 2d046cc0df820edc141a74e7d204e4fba462e037)