summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20317: store references to all important naming contexts.Stefan Metzmacher1-13/+45
add ldb_get_config_basedn(), ldb_get_schema_basedn() and ldb_get_root_basedn() metze (This used to be commit e28cb83904299fe01e8c0797f5429387f254ed1e)
2007-10-10r20316: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 58cbbaa4b49bfed6d4e9c5802af988864e06675f)
2007-10-10r20315: Implement the server side of DsGetDomainControllerInfo. This is aAndrew Bartlett5-53/+357
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-10r20314: I think some hosts need this to get the right ASN1 header depsAndrew Bartlett1-1/+2
(This used to be commit 82a09a111b61a099f2ea5cf013eb523191bf9de2)
2007-10-10r20311: Check one more samba3 error path for t2mkdirVolker Lendecke1-0/+6
(This used to be commit 0f018cca6f70cb44ab436b3a66edb01e57351eaf)
2007-10-10r20309: Don't treat non-supported EAs as fatal against Samba3.Volker Lendecke1-10/+20
Volker (This used to be commit 52d9c7ed0acbc286151117bb876559e13981fd44)
2007-10-10r20308: ContextSimple can be zero length -- seen in a multi-step gssapi ldap ↵Volker Lendecke1-1/+1
bind. Did not find that in Samba3 code, so there's nothing to port. Volker (This used to be commit 9bdc19b6d5fe3dff57a07f4b760840d0043a53ad)
2007-10-10r20307: remove unused varsStefan Metzmacher1-4/+0
metze (This used to be commit 0352b7bbc659f3683355b793630fe44e9fd5b8cb)
2007-10-10r20306: remove the static oid mapping tableStefan Metzmacher3-119/+144
and attach the table to the dsdb_schema metze (This used to be commit df63995ec5f322d17145664c1f174783861e1723)
2007-10-10r20305: as the oid mapping table is dynnamic it makes no senseStefan Metzmacher1-119/+0
to test the mappings when we got the schema via LDAP as we don't get the mappings metze (This used to be commit cfcd6285e1a5367ea4cfa9190658085ed65910b5)
2007-10-10r20303: try to fix 'make install' on solaris 8, ln -fs doesn't seem to work ifStefan Metzmacher1-0/+5
the link already exist metze (This used to be commit 6a089d48ec1424eea876ef9c1c65e74b5ee33781)
2007-10-10r20302: added support for 64 bit file offsets in NBENCHAndrew Tridgell2-5/+10
(This used to be commit 9a9f18914139370311a13044bde7948a2a901738)
2007-10-10r20301: add an option torture:readonly which allows the NBENCH test to be runAndrew Tridgell1-12/+15
read only. This is only any use with customer loadfiles, and pre-created data. I'm using this to test performance as a video server, with pre-created video files. (This used to be commit 48a322a9c19f10fa95c1f8092c643d8e10df1303)
2007-10-10r20300: Trim number of shared libs significantly.Jelmer Vernooij1-232/+77
(This used to be commit 40406355135d5bebd9dad27168ab695657271f4f)
2007-10-10r20299: Disable two new tests that are apparently broken.Jelmer Vernooij3-5/+13
(This used to be commit b3f64869fc4590850203a231ecf6810ae9f1d8cf)
2007-10-10r20298: Fix pidl tests (missing symlink..).Jelmer Vernooij4-8/+14
(This used to be commit ab3d57394630cefc1fefe859c8bd3d56f6e63695)
2007-10-10r20297: Finally got to the bottom of why we were failing the RPC-CRACKNAMESAndrew Bartlett1-11/+29
test against my win2k3 domain. I have a child domain, and as such the BUILTIN domain SID appears multiple times in the tree, and is therefore not unique. Andrew Bartlett (This used to be commit 41e42843be783dd88785ba8d3a9bccacc68053a8)
2007-10-10r20295: Add a couple more tests to the CrackNames test.Andrew Bartlett1-0/+14
(This used to be commit 115ed29fd8fcfd0ad3ebbabbe01fbc6259ce84bc)
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)