summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
AgeCommit message (Collapse)AuthorFilesLines
2003-03-30This changes our handling of invalid service types that theVolker Lendecke1-0/+100
client requested on tconx. We now return the same error code like NT4SP6 and W2kSP3 return. TCONDEV is a little test for this. Volker (This used to be commit 6ab88f31d6773f16baff8421ec9e530461cc8f93)
2003-03-30added simple tests for SMBchkpath and SMBioctlAndrew Tridgell1-0/+142
(This used to be commit ca982a9f1d6485e2d388d4b2e9c13806736ad91e)
2003-03-29updated the TCON test so that win2000 passes. Samba now fails thisAndrew Tridgell1-32/+63
test. It is an interesting test because it shows that win2000 completely ignores the TID and VUID fields in a SMBwriteX. In Samba it is hard to do this as we check the VUID and TID fields before we call the SMB specific reply functions. The test also shows that the list of open files must be global to the socket, not specific to a tcon. (This used to be commit be98069c4e5bbfbe3ce66c20f796c2d2324e7511)
2003-03-29added a simple test for the old SMBtcon interfaceAndrew Tridgell1-0/+38
(This used to be commit c95ae394c5dfe5e0fcc658119213b17bcb95fab5)
2003-03-11having sticky create times is not a bugAndrew Tridgell1-1/+0
(This used to be commit f283f71104319fa9f1e7d22fc91b8d7224ae157a)
2003-03-10fixed use_oplocks and the timeout in smbtorture startupAndrew Tridgell1-6/+16
(This used to be commit cec1ef09e5009cdac22e6c9ca101a49c5ef36b1a)
2003-03-06Make smbtorture use the same cli_full_connection() framework as the rest ofAndrew Bartlett1-811/+788
Samba. This fixes things like not doing *SMBSERVER etc. Andrew Bartlett (This used to be commit 8863ff863c1da42aa6b8718f315c608d9d9067c6)
2003-03-06FIXME about crash on failure case.Martin Pool1-2/+5
(This used to be commit a387c4209735f8e4c826cad7cb10c5349b2041ec)
2003-03-05Add *SMBSERVER fallback code to smbtorture ...Richard Sharpe1-3/+17
(This used to be commit 460339db2246b0213252ee34f507eb8e55ecbecb)
2003-03-05Add code to allow us to specify the port to connect on when performingRichard Sharpe1-6/+14
a test ... (This used to be commit 1128a2fb4c16681e669efe605ff7d7161a2f7acd)
2003-02-22New locktest7 code based on patch from "Srikanta Shivanna" ↵Jeremy Allison1-0/+134
<sshivanna@pillardata.com> Jeremy. (This used to be commit caf298c3808cbdd683e884b32b7a0538505a3066)
2003-02-15Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enableAndrew Bartlett1-1/+3
users w/o full administrative access on computer accounts to join a computer into AD domain. The patch and detailed changelog is available at: http://www.itcollege.ee/~aandreim/samba This is a list of changes in general: 1. When creating machine account do not fail if SD cannot be changed. setting SD is not mandatory and join will work perfectly without it. 2. Implement KPASSWD CHANGEPW protocol for changing trust password so machine account does not need to have reset password right for itself. 3. Command line utilities no longer interfere with user's existing kerberos ticket cache. 4. Command line utilities can do kerberos authentication even if username is specified (-U). Initial TGT will be requested in this case. I've modified the patch to share the kinit code, rather than copying it, and updated it to current CVS. The other change included in the original patch (local realms) has been left out for now. Andrew Bartlett (This used to be commit ce52f1c2ed4d3ddafe8ae6258c90b90fa434fe43)
2003-02-11Fixup delete on close torture.Jeremy Allison1-10/+4
Jeremy. (This used to be commit b031e81f4f4d5dc10e792c216d269b49569f5af9)
2003-02-03Got complete (I hope) coverage of the OPEN TRUNCATE ATTRIBUTES test.Jeremy Allison1-122/+91
Now to make Samba pass it :-). Jeremy. (This used to be commit 510cd30a6ec72544d24b79c13fc8a7d1c9415757)
2003-01-31Added first part of attribute matrix tests. Not run and compiled in right now...Jeremy Allison1-0/+101
Jeremy. (This used to be commit fdc14aa6f67b95350796cd1075a3910e3e5d84b6)
2003-01-11Fix a number of client-side fstring/pstring mixups.Andrew Bartlett1-4/+4
Andrew Bartlett (This used to be commit fe1cc779d5ea77e87dbc0e2edf7c34a354fee6e0)
2003-01-02BIG patch...Andrew Bartlett1-31/+31
This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett (This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
2002-11-18Added HIDDEN/NORMAL attribute test.Jeremy Allison1-1/+49
Jeremy. (This used to be commit 657aa857a5615d953a3f68dd0ded6d4a95e5545e)
2002-09-10Added final Steve French patch for "required" attributes with oldJeremy Allison1-0/+100
dir listings. Added regression test in smbtorture (in HEAD) also. Jeremy. (This used to be commit 3c9d24d7c3bad2beb641880a97f0eda5cd3e4ec7)
2002-08-30Correct error message.Jeremy Allison1-1/+1
Jeremy. (This used to be commit e9392c4a2e1e1ce44fcd1a1105477c17a3410f14)
2002-08-30Better error reporting on OPEN test.Jeremy Allison1-2/+4
Jeremy. (This used to be commit 4e836c4ce2b51e42ab4f29c6c916fe6a73a58654)
2002-08-30Added attribute specific OPEN tests (for SYSTEM and HIDDEN).Jeremy Allison1-0/+44
Jeremy. (This used to be commit 4eeef6ef530acf1cc4e08e24af902c15af57ece7)
2002-08-18nicer locking timeout testAndrew Tridgell1-2/+7
(This used to be commit 2307869798c99f75d2624bb3c144e780e358a3c9)
2002-08-18make the LOCK1 test randomise the time for the blocking lock testAndrew Tridgell1-1/+1
(This used to be commit 28d325227c9b7ab48a47df006204319b21f7e7f7)
2002-06-28Test how many pipes we can open.Jeremy Allison1-0/+29
Jeremy. (This used to be commit 95d22f18d7a2bb06804a6a336b243face4b496a1)
2002-04-18Back out the wrong changes I made yesterday ...Richard Sharpe1-2/+2
(This used to be commit 6d52aa1fc892b48d72a790800ee00d6d7bdc4844)
2002-04-17Fix smbtorture so it can handle collisions etc ...Richard Sharpe1-2/+2
(This used to be commit ba4d6c76aabd3d1fd8dc1e2335baf50c58d636a7)
2002-04-12- added a mangling test suite that measures the collision rate onAndrew Tridgell1-11/+17
randomised filenames - fixed several mangling bugs that the test suite pointed out (This used to be commit 858fa7efc34f6e7cdf8500900aed3f7943c91348)
2002-04-04Fixed some compile warnings.Tim Potter1-2/+2
(This used to be commit fd8b3009eb3f3debc7a1dcf6a46437d87a341519)
2002-03-28a dodgy fix for a dodgy race condition in smbtorture child startupAndrew Tridgell1-1/+1
(This used to be commit 30febde783bcacc111f559473dc15baee66db350)
2002-03-26Tests for insane open semantics.Jeremy Allison1-7/+68
Jeremy. (This used to be commit 6d6842abfa1f7a317b3aa6b285ed737bf7056e82)
2002-03-26Added 5 *NASTY* non-io open tests....Jeremy Allison1-0/+169
Jeremy. (This used to be commit 15cb6267e2f86b6e244d4a9f7a8633205f10114c)
2002-03-23Forgot torture hacks...Jeremy Allison1-5/+1
Jeremy. (This used to be commit ba6c3d65a53278b5a4c49d437373cfe613a2f80f)
2002-03-23Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison1-0/+69
cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy. (This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
2002-03-20Correctly increment offset in cli_smbwrite.Jeremy Allison1-9/+23
Jeremy. (This used to be commit 5b04b5f1df3ee509e7314064966be09e2202b0ef)
2002-03-19the beginning of a test to determine and display a servers propertiesAndrew Tridgell1-0/+31
just shows capabilities at the moment (This used to be commit 76fe90343c4ca76ad58c7b31a1e3235926fd6c75)
2002-03-17Renamed get_nt_error_msg() to nt_errstr().Tim Potter1-5/+5
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
2002-03-11only try an ordinary file in lock6Andrew Tridgell1-2/+2
(This used to be commit 965e23537c284dd312c714c111ec172d9a33b019)
2002-03-11expanded the lock6 test a bit to try lsarpc as wellAndrew Tridgell1-11/+17
this allows us to check that we refuse locking on pipes (This used to be commit 3e69ea6846e455d6ebb15e4481d4f98fd038c8a2)
2002-03-11added a LOCK6 test for weird lockingX lock type bitsAndrew Tridgell1-1/+40
warning! this test reboots w2k or wxp (This used to be commit 568e1d7b4389e5a49aa1d52eb4c74bc53dbc125f)
2002-03-10remove an unused variableAndrew Tridgell1-1/+1
(This used to be commit 9c44ad4e42892be8fc99998fd53c3027353c0d1b)
2002-03-07Added another 2 delete on close tests. Now 10. Had to fix smbd to match...Jeremy Allison1-42/+121
Jeremy. (This used to be commit bda1c31da68aa75aba780727e9aeaad17207668d)
2002-03-07Change xcopy test to use defined constants rather than magic hexJeremy Allison1-4/+22
values so we can see what's going on. Jeremy. (This used to be commit 5ba4ba36339269b2059da7c103e63ecd948f7938)
2002-03-06fixed NBENCH test on IRIX (tridge)Herb Lewis1-1/+1
(This used to be commit d3c593b1208085f6c44e1707165ebee2b1cb4113)
2002-03-06make error codes match W2k advanced server sp2Herb Lewis1-5/+5
(This used to be commit c644ca6a663b615416cd809be4921688f85e84cf)
2002-03-05Found the mp3 problem - it's a generic class bug w.r.t. renaming.Jeremy Allison1-0/+72
Added a rename torture test to illustrate the problem. Jeremy. (This used to be commit 509ac24525a0d1aaecc819a99590425a164aaf44)
2002-03-04added -k options for kerberos to smbtorture and locktestAndrew Tridgell1-1/+14
(This used to be commit 46b89bc9979229abc6e9f2f8c585a22dd4f22902)
2002-03-03handle clock skew in getatr testAndrew Tridgell1-3/+3
(This used to be commit 64c0a5c4a0d879ce8f9517717a0cd54a75c20619)
2002-03-03fixed -c option to NBENCH testAndrew Tridgell1-1/+1
(This used to be commit f9e3b91f58df30440c8b90007997e012101235e3)
2002-02-24added a "XCOPY" test that simulates the open calls made by xcopy /OAndrew Tridgell1-0/+45
we currently fail this test (This used to be commit 8095375623cc19f7aad497bf39d5370d032ebdbf)