summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
AgeCommit message (Collapse)AuthorFilesLines
2003-05-03Fix use of uninitialised value in TCONDEV test - found by sun1 on the build farmAndrew Bartlett1-1/+1
(This used to be commit 0dfeaf4535bb1b2345dfd51208c51ce5069ea154)
2003-04-23Add a check to ensure that the server returns the correct device type, notAndrew Bartlett1-11/+20
just the correct error. This should help us avoid breaking NT4 IPC$ connections, for example. This has required that we don't overwrite the device type for IPC$ in our tcon&X code, but only smbwrapper even uses it, and a server that doesn't send a correct dev type breaks other things pretty badly. In any case, I'll 'fix' smbwrapper :-). Andrew Bartlett (This used to be commit a93057efcb6e639be05b7bdcb9729ed8f39f5f62)
2003-04-23Merge torture tests from HEAD - it looks like we had rather an incompleteAndrew Bartlett1-6/+66
merge last time. I hope this might fix a few failures on the build farm too. Andrew Bartlett (This used to be commit 0c837126923cc30fa60223a5a68d4f527971cc7b)
2003-04-18fixing torture build by merging code from HEADGerald Carter1-890/+1357
(This used to be commit 7798c7ee1a2fafa0a4879e550e16027f17ccbbcf)
2003-04-01Merge from HEAD to define variable port_to_use. Needed to compile.John Terpstra1-0/+1
(This used to be commit b522892215b12d3f919cb4d1fb99721981710f2a)
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 6f94ab8ed50ad171f25e9538417c5074feba164d)
2003-02-24Cleint-side-auth/kerberos fixes from HEAD, and don't connect to a shareAndrew Bartlett1-1/+3
twice, let the libsmb code determine what form the share name should take. Andrew Bartlett (This used to be commit a25f6126647c94551c03bfc28e3fb5ec5ef6264a)
2003-01-14Merge from HEAD:Andrew Bartlett1-4/+4
- fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett1-31/+31
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-11-18Added OPEN test with HIDDEN/NORMAL attributes.Jeremy Allison1-1/+49
Jeremy. (This used to be commit fc5774b075f435dfbf3253e5e6af8afc9ee4ca22)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-2/+153
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-0/+29
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-04-12merged the mangling test and passdb bugfixes into SAMBA_3_0Andrew Tridgell1-11/+17
(This used to be commit 97eb3a121d33200ee7559b2413d6252efc04ebaf)
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)
2002-02-21added a cli_qfilename() test to the trans2 testsAndrew Tridgell1-0/+13
(This used to be commit 81fb8845e5c9a321f113258a737ce5c6e799e505)
2002-02-05got rid of a silly '*' in printoutAndrew Tridgell1-1/+0
(This used to be commit 22be40b6b8c034c143ce5d804628bc12cb1cc3dd)
2002-02-05- only show 1 cleanup msg per clientAndrew Tridgell1-3/+1
- show client count in progress (This used to be commit 10ee1d22e606847d40fb013c694ed5733ef6b87b)
2002-02-05rewrote smbtorture to use the new dbench 2 format and methodsAndrew Tridgell1-75/+69
(This used to be commit 36f816a5e12a80f0184f43cbd44ef5fac53fcb81)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-16Quieten some pointer cast warnings.Tim Potter1-3/+4
(This used to be commit 1906903f063de526045be68d19cf39de3c029c6f)
2002-01-03Update the NT_STATUS -> DOS error table.Andrew Bartlett1-3/+3
This new table is rather different to the old one (see diff posted to the list for a sorted list of differences) and needs a *lot* of testing. It does however seem to line up much better with what NT is using, as exampled by the change to the OBJECT_NAME_COLLISION DOS error, it now matches win2k where it didn't before. I can't see any critical errors we now get wrong, and I know that the auth errors are correct as per my on-the-wire observations. This table was produced (and I hope to comment this better later) by using the ERRMAPEXTRACT smbtorture tool, a Win2k domain member and the 'name_to_ntstatus' auth module on the HEAD PDC. This module returned the username as the error, and the NT box was forced to give me a dos error becouse thats all I negotiated on that connection. Hence the map. Andrew Bartlett (This used to be commit a855dfb2e0b899d03087860e5462c2aed3ca4cad)
2002-01-03Make a couple more of the warnings also be C commentsAndrew Bartlett1-2/+2
(This used to be commit 8f343beae7455141ce6a5e27e46ed2970aed8e7f)
2002-01-03A few changes to always output the erorr mapping even when the error wasAndrew Bartlett1-27/+34
'squashed' or the session setup succeeded. (How the latter occurs I don't know). (This used to be commit d879d2ffffc47ce161afb3d96bc5c4b92de662c3)
2002-01-03Workaround some 'smarts' in Win2k.Andrew Bartlett1-0/+20
Win2k kills off connections that have issued a negprot but havn't yet issued a session setup when a second connection appears from the same host. (This used to be commit d47e61eb468218cae631e78edbd5d02982c78ab0)
2002-01-03Re-add bail on failure.Andrew Bartlett1-2/+8
(This used to be commit da9444d98f212af8f1b1e1df191adf3c31d50f6d)
2002-01-03fixed ERRMAPEXTRACT torture to work with win2kAndrew Tridgell1-11/+5
(This used to be commit 27143900e76033026ecd5a7b4525c0150f3a535d)
2002-01-02Minor update to make the output 'real C'. (The output is intended to be a CAndrew Bartlett1-3/+8
format table for inclusion back into Samba). Andrew Bartlett (This used to be commit 95abb2473bb4f93df163a0e8af79d5292e1389b3)
2001-11-26Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter1-2/+1
and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip); (This used to be commit 778f5f77a66cda76348a7c6f64cd63afe2bfe077)
2001-11-25Add a new torture test to extract a NT->DOS error map from an NT member of aAndrew Bartlett1-0/+74
samba domain. The PDC must be running a special authenticaion module that spits out NT errors based on username. Andrew Bartlett (This used to be commit adc7a6048c13342b79b6228beafb5142c50f318d)