summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20676: Add ref pointer to fix warning.Jelmer Vernooij2-10/+10
(This used to be commit 1afcf850679b6752935455a8f9198679649922b8)
2007-10-10r20652: Attempt to fix the buildVolker Lendecke2-0/+2
(This used to be commit 29d04fadf3db8cb1a6eb2d8ca33f0106cafaaab2)
2007-10-10r20650: revert a bunch of code I didn't mean to commit yetAndrew Tridgell6-63/+8
(This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
2007-10-10r20647: add cluster codeAndrew Tridgell6-8/+63
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
2007-10-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell2-18/+25
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10r20632: The extended RAW-SAMBA3BADPATH test led me to some wrong assumptions, inVolker Lendecke1-261/+2
particular the NT_STATUS_INVALID_PARAMETER thing was badly wrong. Remove the changes based on it. Using gentest is much more effective in this respect, but it will take a while to figure out the wildcard error handling of W2k3. Volker (This used to be commit 33d842e27d7611dd1d3cbfa71d44d63c273ba785)
2007-10-10r20618: Fix a bug in bad_path handling that also exists in 3.0.23: For ↵Volker Lendecke1-5/+16
reply_unlink under Linux we returned NT_STATUS_NOT_A_DIRECTORY. This is because in the bad_path==True condition lstat(2) returns ENOTDIR and not ENOENT. Not sure if we want to necessarily replicate the INVALID_PARAMETER here, but this is what W2k3 does. Jeremy, I tried to call you, but you were not around. So I'll leave it up to you to merge this. Volker (This used to be commit 838afa8f7d2b10460725c1f0b519ce54fb84de88)
2007-10-10r20613: The individual tests are fine, I did run samba3badpath, but ↵Volker Lendecke1-0/+3
raw-samba3hide left test.txt with permissions 000 behind... Volker (This used to be commit fdd501f8032dceb05989c582132b036bb22e6fb1)
2007-10-10r20609: Additional torture test for our bad_path handling. Most of it is ↵Volker Lendecke1-2/+210
disabled for now, there are calls (for example trans2ffirst) which are quite dubious. Volker (This used to be commit 79846f09b98965af0817b362f45d11e69e23c3e4)
2007-10-10r20595: W2k and XP don't always show the top directory as hidden, w2k3 does. ↵Volker Lendecke1-17/+23
I think Samba should follow w2k3 in this respect. Volker (This used to be commit 6094ee9df5820cd26858e9c4eff5dfc7e60181ab)
2007-10-10r20580: pass the DSDB_CONTROL_REPLICATED_OBJECT_OID with the ldb_add requestStefan Metzmacher1-5/+38
when applying replicated objects. the samldb module ignores such requests now... and the repl_meta_data module has different functions for the replicated and originating cases... metze (This used to be commit a4d5e0126cfd6135ab829f4984269e265a868a28)
2007-10-10r20575: apply records to the test_samdb.ldb (my birthday present to myself...:-)Stefan Metzmacher1-4/+83
we need to modify some modules to only handle originating changes... metze (This used to be commit 0f387d58e69a6ee806fea02229ef8fa030f2918d)
2007-10-10r20572: - prepare a test_samdb.ldb in the NET-API-BECOME-DC torture testStefan Metzmacher2-0/+106
- we call a ejs script from the torture test for this task so that we can use the provision template ldif's. metze (This used to be commit e84b0c7d4004df312ae58ed76dd708a2c3c37986)
2007-10-10r20552: Little Samba3 test to force smb_close to return an error. Set delete ↵Volker Lendecke2-1/+72
on close, and then remove perms from the parent dir.... Volker (This used to be commit f24c5052576d4951738f83c3b238d2c251d4553b)
2007-10-10r20549: obvious bug fix..Volker Lendecke1-1/+1
(This used to be commit f0aa63e39050c7ac10b9d51c5cecc753b257be9a)
2007-10-10r20539: - split the common timer related events code into events_timed.cAndrew Tridgell1-18/+20
- make it easier to plug in a new events backend - add simpler 'select' and 'epoll' backends This is part of the effort to add good AIO support. The events_aio.c backend is done, but sometimes dies with a SEGV, which is why it isn't enabled yet. (This used to be commit 934f18283dbc7958944931a93a854526bcd54884)
2007-10-10r20531: - create the rdn attribute which is an alias for the 'name' attributeStefan Metzmacher1-0/+180
because the rdn attribute isn't explicit replicated - create the whenChanged attribute out of the meta data - create the objectGUID attribute out of the guid of the DsReplicaObjectIdentifier* - create the replPropertyMetaData attribute from the meta data - dump a more verbose form of the meta data that contains the attribute names - dump linked attributes a lot if this functionality will move into the repl_meta_data ldb module in one of the next steps... metze (This used to be commit a6223a20434df1269cc87ba3b1db74473b6ff9bb)
2007-10-10r20525: Closing a dir with del-on-close set requires the same as files: ↵Volker Lendecke1-0/+80
Don't actually unlink/rmdir if another process still has it open. Jeremy, this is a potential merger to 3.0.24. Volker (This used to be commit d0550a01af219344ec2e4c16d5253814afc89974)
2007-10-10r20514: implement idl for DsGetNT4ChangeLog() which transferres the meta dataStefan Metzmacher1-0/+59
for NT4 DC's in mixed mode domains. This call is triggered by tranferring the PDC FSMO Role to another DC the real meta data is encoded in the user buffer which is just a DATA_BLOB in idl metze (This used to be commit d883815c8d64429e4dac26a93a15e67d31dc263e)
2007-10-10r20510: fix spellingStefan Metzmacher1-1/+1
metze (This used to be commit 58066e2252001b7689705d296a16438733cfdfc4)
2007-10-10r20508: Confirm a special case in samba3 reply_getatr that getatr("") always ↵Volker Lendecke1-0/+34
returns HIDDEN. Volker (This used to be commit 83a20912061c663ff422b038b41f01a9c7583afe)
2007-10-10r20504: we handle the attribute values always as DATA_BLOB's andStefan Metzmacher2-7/+7
don't need the union with the attribute id as switch anymore metze (This used to be commit d47c81923d0731edd314215c6f0b2eb3d1ee252d)
2007-10-10r20497: Two changes to RAW-OPEN that Samba does not fulfil:Volker Lendecke1-5/+25
Samba3 returns the SPARSE flag for files with size > allocation, and on many configs Samba3 does not support EAs. Cope with both. Tridge, please check this is acceptable for this test. Volker (This used to be commit 4df4d37c3d4d9e6c430afd36e88684f02c73700e)
2007-10-10r20494: Dave CB <davecb@spamcop.net> found some stray characters in the docs,Andrew Bartlett1-1/+1
while stress-testing an xml parser. Bug 4319 Andrew Bartlett (This used to be commit a9a61eb54309cebfcdc28ff03130244477aa3d2e)
2007-10-10r20483: Sorry Volker:-)Stefan Metzmacher1-7/+7
I missed to commit this file:-( metze (This used to be commit e11885f8a78698ad479826784491548e8b695a04)
2007-10-10r20481: Fix the build -- Stefan, please look at this ;-))Volker Lendecke1-0/+6
(This used to be commit bbb3aaa41b4b025eb6536d6da3caf64db8731bdf)
2007-10-10r20480: In Samba3 we don't yet have support for all 4 file times on all ↵Volker Lendecke1-1/+9
platforms (do we have any?? ;-), so don't mark failure to correctly cope with the close write time as critical. Volker (This used to be commit 42070b09cba8adda1e7606e08764b1f202b33321)
2007-10-10r20474: Skip the delete-on-close test on a non-empty directory in raw-unlink forVolker Lendecke1-21/+28
Samba3. This is a known deficiency also taken care of in the base-delete test. Volker (This used to be commit 6b91bb93fad84e054c19f8c9bc4145234f171a3c)
2007-10-10r20456: Rename variables to avoid shadowing global function names.Andrew Bartlett2-7/+7
Andrew Bartlett (This used to be commit c353f2bb91d6cf7553325b94baae8986e85e8ee5)
2007-10-10r20438: - bail out on conversation errorsStefan Metzmacher1-4/+27
- create a valid ldb_message - dump the ldb_message if --option="become dc:dump objects=yes" is passed to smbtorture metze (This used to be commit 34e126f6590e3fc7ac1f46e09e777993ca10401d)
2007-10-10r20423: Fix debug outputVolker Lendecke1-1/+1
(This used to be commit 6afc394d9349782788cc06a38750f0723a5a55e7)
2007-10-10r20422: A torture test extension for JeremyVolker Lendecke1-0/+26
(This used to be commit 1bcc421dab53adaf3b6c6d7f51c23c80cb637a95)
2007-10-10r20421: - delay the schema analysis untill the full schema is tranferredStefan Metzmacher1-65/+129
- call translation hooks for all attributes (but ignore the error for now) metze (This used to be commit c84668bf0da5a791a36f82533b6c0de99b0fe6bf)
2007-10-10r20396: Missed one user of the renamed elements.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit a7c83eb7b8e000c51790a9eae67c59c04a4a877c)
2007-10-10r20395: Decode more unknowns in the IDL. These are language and codepage IDs!Andrew Bartlett1-17/+23
Try to pass more of the CrackNames test. Make the test quieter. Andrew Bartlett (This used to be commit a6bbfebf52f53f99b0edf52d3c23b72785b97469)
2007-10-10r20381: verify the incoming oid mappings and schema info for the config and ↵Stefan Metzmacher1-0/+10
domain partition too metze (This used to be commit 1fab753b1da608d49bd976e01286f800c2d42965)
2007-10-10r20380: verify the incoming schema info and oid mappingsStefan Metzmacher1-0/+5
metze (This used to be commit 27193e4b3d7d43e6fee6f35094ab60ff2531a474)
2007-10-10r20369: Remember to break if we find a match.Andrew Bartlett1-1/+3
Andrew Bartlett (This used to be commit 4bd8dbcf41f04be28e2f5d6e15a22f08ba80b948)
2007-10-10r20359: level -1 of DsGetDomainControllerInfo gives back a listStefan Metzmacher1-2/+2
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-10r20357: run_trans2test and torture_trans2_scan are two separate testsVolker Lendecke1-1/+1
(This used to be commit 2e06c38a98e3891ed1f9e823614c3f0c3d279afe)
2007-10-10r20353: Restructure the DRSUAPI DsGetDomainControllerInfo test, because asAndrew Bartlett1-97/+125
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-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)