summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20341: Make sure we do not regress on r20338 in Samba3Volker Lendecke1-0/+61
(This used to be commit 64ee399c964c2935c1386123e2e636c266c8c6a8)
2007-10-10r20327: start to analyse the schema contentStefan Metzmacher1-24/+172
metze (This used to be commit fa59f168b2c4e56c88c415110c220515a148a592)
2007-10-10r20318: do what the printf statement says:-)Stefan Metzmacher1-1/+1
metze (This used to be commit dd9ef6e5ab471665d019fbda87c90f5c95bd57ea)
2007-10-10r20315: Implement the server side of DsGetDomainControllerInfo. This is aAndrew Bartlett1-5/+0
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-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-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-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-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-10r20293: implement store chunk hook for libnet_BecomeDC()Stefan Metzmacher1-0/+12
metze (This used to be commit aba497f2fdb79e4a61c028501d4d33a3f678ba73)
2007-10-10r20291: implement prepare_db hook of libnet_BecomeDC()Stefan Metzmacher1-1/+30
metze (This used to be commit 07f1075d469833e10c2f0b0d4578221c6a189b04)
2007-10-10r20285: pass more info to check_options hook and move behavior versions etc.Stefan Metzmacher1-8/+17
to the domain and forest structures metze (This used to be commit 15157bf5b94dacc868c49dbf750421eb221868ba)
2007-10-10r20283: pass in callbacks to libnet_BecomeDC() from the callerStefan Metzmacher1-0/+16
and implement the check_options call metze (This used to be commit fc9669e2a081a614599f7cdce1e031e8a8134c67)
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-10r20251: I found out that the oid-prefix to uint32-id-prefix mapping is ↵Stefan Metzmacher2-4/+4
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-10r20231: - add more oid => uint32 id mappingsStefan Metzmacher1-2/+38
- 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-10r20221: - move the dsdb_schema, dsdb_attribute, dsdb_class structs intoStefan Metzmacher1-159/+108
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-10r20149: Remove the smb.conf distinction between PDC and BDC. Now the correctAndrew Bartlett1-0/+17
way to setup a Samba4 DC is to set 'server role = domain controller'. We use the fSMORoleOwner attribute in the base DN to determine the PDC. This patch is quite large, as I have corrected a number of places that assumed taht we are always the PDC, or that used the smb.conf lp_server_role() to determine that. Also included is a warning fix in the SAMR code, where the IDL has seperated a couple of types for group display enumeration. We also now use the ldb database to determine if we should run the global catalog service. In the near future, I will complete the DRSUAPI DsGetDomainControllerInfo server-side on the same basis. Andrew Bartlett (This used to be commit 67d8365e831adf3eaecd8b34dcc481fc82565893)
2007-10-10r20145: fix whitespacesStefan Metzmacher1-5/+3
metze (This used to be commit d2d9842914bb049189f9349ff96b32c088cd02a8)
2007-10-10r20144: add NET-API-BECOME-DC test that tests ↵Stefan Metzmacher3-6/+87
libnet_BecomeDC()/libnet_UnbecomeDC() metze (This used to be commit 0359d9a00b3e30e2bd67b89d6b11236e5af0106b)
2007-10-10r20115: from Julien Kerihuel <j.kerihuel@openchange.org>, thanks!:Stefan Metzmacher1-4/+14
Here is a patch that adds a torture:dc_binding parametric option to torture_create_testuser in testjoin.c. This patch is used in OpenChange torture tests when the AD is different from the Exchange Server. This generic option could also be used for later 'member server' tests in Samba4. metze (This used to be commit 9ddabfc60e1a4f5e471991253141ce458c9a683d)
2007-10-10r20113: Update the DRSUAPI CrackNames test to explore a few more cases, and inAndrew Bartlett3-56/+129
particular to verify more expected results. Also return more details from the join process. Now we also return the machine account's GUID. Andrew Bartlett (This used to be commit 5b32f102af1fc7acb56bf7eaa40068d60a1ee396)
2007-10-10r20093: some documentation updatesStefan Metzmacher1-3/+8
metze (This used to be commit 314308c0bf8eeb168d59dab2a867e6bf5f51266b)
2007-10-10r20092: added a locking benchmark that should be good for benchmarkingAndrew Tridgell3-2/+200
communitcation in a CIFS clustered server. It tries to keep the connections full by setting up the next lock as each lock is done. The locking pattern is similar to the local filesystem ping pong test in junkcode, forcing a communication between nodes on each request (This used to be commit d57b9fb29860bd03cfa970bcc52ef45d17775638)
2007-10-10r20079: the 2nd guid is the source_dsa invocation_id not the objectGUID,Stefan Metzmacher2-4/+4
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-10r20078: support the large samba3 reads in RAW-READ testAndrew Tridgell1-4/+14
(This used to be commit a4c2a575faf6a20174730524a8b2878eb9fdb50d)
2007-10-10r20065: make it possible to get the dns domain name and netbios domain nameStefan Metzmacher1-0/+18
of the join account metze (This used to be commit 45da80888f18f0fe10d1aeb9089a695125b184e1)
2007-10-10r20059: james was asking about CAP_LARGE_READX and reads close to the 64kAndrew Tridgell1-0/+20
boundary. This test shows that both for Samba4 and w2k3, reads larger than or equal to 64k don't work (return zero bytes). Not that I claim this is very useful behaviour :-) (This used to be commit a10fa12ff5657a96e41b309558786780f294a75f)
2007-10-10r20039: things which need to be done for unbecoming a dcStefan Metzmacher1-1/+121
metze (This used to be commit 73f7e2d5b3b3ae767644b96ff9783642aac153d0)
2007-10-10r20038: document first rootdse searchStefan Metzmacher1-0/+35
metze (This used to be commit da6415363b2694961a59385437d34d16a932e77b)
2007-10-10r20002: finish requests on the first LDAP connectionStefan Metzmacher1-2/+48
metze (This used to be commit c5efd061c5457fb4d344daa2e40dada9c0c37e79)
2007-10-10r20000: 20000Stefan Metzmacher1-0/+1
metze (This used to be commit a3202714a34d49af30435dc3d2935e053e141853)
2007-10-10r19999: add section for adding the server objectStefan Metzmacher1-0/+12
metze (This used to be commit f2db31f41dc1727375a560fdc6eaad2c037bf5da)
2007-10-10r19998: add section for finding details about the new_dc server objectStefan Metzmacher1-0/+26
metze (This used to be commit cd534dc93646a5981c4d2f0bc27ba9d3259024eb)
2007-10-10r19997: section about finding the new_dc computer accountStefan Metzmacher1-0/+15
metze (This used to be commit 757ed019c219fd215cae23d80281d0b221e495e1)
2007-10-10r19996: add section about finding site detailsStefan Metzmacher1-0/+26
metze (This used to be commit 500113ca5756933de15537b44ccc834ea32307b3)
2007-10-10r19995: add section about finding details of the RID Manager fSMORoleOwnerStefan Metzmacher1-0/+53
metze (This used to be commit ce671ff6c13e71c5b54ba8f14d81af45a3e796a9)
2007-10-10r19994: complete section about finding details about theStefan Metzmacher1-0/+41
Infrastructure fSMORoleOwner metze (This used to be commit adbff0d696237efac27f260c115678169b8646d8)
2007-10-10r19988: the first LDAP calls for becoming a ads dcStefan Metzmacher1-0/+94
metze (This used to be commit 2e355f84888ebea1376151bcba4013980da08c15)
2007-10-10r19987: some more notes about how to w2k3 becomes a dcStefan Metzmacher1-14/+54
the strange thing is the DsGetNCChanges() calls are on their on DRSUAPI connection, but use a bind_handle (policy handle from another connection) metze (This used to be commit a9c7d6e7f353e85234b93f26973969b157b1e7f1)
2007-10-10r19969: split become ads dc TODO lists into W2K and W2K3 sectionsStefan Metzmacher1-0/+45
metze (This used to be commit 88818b3c0822cfb71b08c8f06c48443b26116a07)
2007-10-10r19968: add some more notes about what's needed for becoming a ads dcStefan Metzmacher1-6/+46
metze (This used to be commit 09b492c450596b18a12cefa99c56f62504a519d7)
2007-10-10r19967: this unknowns are max_object_count and max_ndr_sizeStefan Metzmacher2-11/+10
metze (This used to be commit 3e6264d872e4fc39a8e0712293492ad413345de9)
2007-10-10r19926: display user listing created by the test.Rafal Szczesniak1-0/+8
rafal (This used to be commit a97fb96203dab5de1d04f4c0917446e1d88f0168)
2007-10-10r19925: Close the lsa handle in the end, and test calling libnet_UserListRafal Szczesniak1-7/+18
with non-zero resume index to continue longer enumeration. rafal (This used to be commit efa04d6d0b62ff3c6332db4b31622c0579428a56)
2007-10-10r19924: win2k3srv did not like that combination.Rafal Szczesniak1-1/+1
rafal (This used to be commit 11b93da847420a509dc8d30ee5998557ea506291)
2007-10-10r19923: Update test to match the function changes.Rafal Szczesniak1-2/+2
rafal (This used to be commit e1a20bba9dcc740630c093dcdd1f082e54473e95)
2007-10-10r19878: Announce testsuites when using subunit.Jelmer Vernooij1-1/+7
(This used to be commit daaa0216456bf76116985451c87e5252c70f0dec)