Simo Sorce
ee8dad7b3d
add collision/total indication to every collision report
...
(This used to be commit c4d6a49779e0e2bff86256b8b353e6c803e31ba9)
2002-04-24 11:24:58 +00:00
Richard Sharpe
ba309aaffa
Back out the wrong changes I made yesterday ...
...
(This used to be commit 6d52aa1fc892b48d72a790800ee00d6d7bdc4844)
2002-04-18 18:36:17 +00:00
Richard Sharpe
4e5e548170
Fix smbtorture so it can handle collisions etc ...
...
(This used to be commit ba4d6c76aabd3d1fd8dc1e2335baf50c58d636a7)
2002-04-17 22:50:02 +00:00
Andrew Tridgell
4023a61892
merged the mangling test and passdb bugfixes into SAMBA_3_0
...
(This used to be commit 97eb3a121d33200ee7559b2413d6252efc04ebaf)
2002-04-12 10:18:46 +00:00
cvs2svn Import User
ef3197889f
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 1c221b3e72b24b6b8bd0d14b6ce32cf701684a81)
2002-04-12 03:54:14 +00:00
Andrew Tridgell
71c2943d34
nicer measurement of failures and collisions
...
(This used to be commit 61c61f6b4f22c1ef6f837145f5e05730706cc8d4)
2002-04-12 03:54:13 +00:00
Andrew Tridgell
a2d5f9a809
better mangling test. We now test that we can create by long name and
...
delete by short name, and that we can create by short name and delete
by long name
our old mangling code fails this test.
also tweaked the random filename generation to produce more likely
collisions
(This used to be commit 65609c52960c2b5938150a2fdb5290541f4e0225)
2002-04-12 03:42:44 +00:00
Andrew Tridgell
3067ec21fb
- added a mangling test suite that measures the collision rate on
...
randomised filenames
- fixed several mangling bugs that the test suite pointed out
(This used to be commit 858fa7efc34f6e7cdf8500900aed3f7943c91348)
2002-04-12 03:26:19 +00:00
Tim Potter
f18b466bf6
Fixed some compile warnings.
...
(This used to be commit fd8b3009eb3f3debc7a1dcf6a46437d87a341519)
2002-04-04 22:56:39 +00:00
Andrew Tridgell
b9d587cf83
a dodgy fix for a dodgy race condition in smbtorture child startup
...
(This used to be commit 30febde783bcacc111f559473dc15baee66db350)
2002-03-28 02:42:25 +00:00
Jeremy Allison
414056e9f2
Tests for insane open semantics.
...
Jeremy.
(This used to be commit 6d6842abfa1f7a317b3aa6b285ed737bf7056e82)
2002-03-26 00:40:18 +00:00
Jeremy Allison
bca0b0fc36
Added 5 *NASTY* non-io open tests....
...
Jeremy.
(This used to be commit 15cb6267e2f86b6e244d4a9f7a8633205f10114c)
2002-03-26 00:07:48 +00:00
Jeremy Allison
1bb3c9cd85
Forgot torture hacks...
...
Jeremy.
(This used to be commit ba6c3d65a53278b5a4c49d437373cfe613a2f80f)
2002-03-23 02:59:20 +00:00
Jeremy Allison
c90cd26e94
Fix the mp3 rename bug - also tidy up our open code and remove the special
...
cases for rename and unlink. Had to add desired_access into the share mode record.
Jeremy.
(This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
2002-03-23 02:57:44 +00:00
Herb Lewis
2e39a46942
add a -n maxloops option so this can be run in a script and end after a
...
certain number of iterations.
(This used to be commit bdac7cb9c5bdd52db06b2507d8660bc1c9debea5)
2002-03-22 00:09:09 +00:00
Herb Lewis
a3468c25a4
merge fix for core dump when called with no args from 2.2
...
(This used to be commit 8b38cca631a7434fcce0686c8e41c986a0a36a21)
2002-03-21 22:36:04 +00:00
Herb Lewis
aadc8a52fd
update usage message with other options. Add a -d debuglevel option
...
(This used to be commit 32d5dc824ab26c140feb8041314783caab622c65)
2002-03-21 14:03:41 +00:00
Jeremy Allison
a1249aca90
Correctly increment offset in cli_smbwrite.
...
Jeremy.
(This used to be commit 5b04b5f1df3ee509e7314064966be09e2202b0ef)
2002-03-20 01:47:31 +00:00
Andrew Tridgell
45c8a07d5c
the beginning of a test to determine and display a servers properties
...
just shows capabilities at the moment
(This used to be commit 76fe90343c4ca76ad58c7b31a1e3235926fd6c75)
2002-03-19 23:19:00 +00:00
Tim Potter
ab13654dc9
Renamed get_nt_error_msg() to nt_errstr().
...
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
2002-03-17 04:36:35 +00:00
Andrew Tridgell
59100a45a0
only try an ordinary file in lock6
...
(This used to be commit 965e23537c284dd312c714c111ec172d9a33b019)
2002-03-11 15:56:59 +00:00
Andrew Tridgell
9bdb6e2b22
expanded the lock6 test a bit to try lsarpc as well
...
this allows us to check that we refuse locking on pipes
(This used to be commit 3e69ea6846e455d6ebb15e4481d4f98fd038c8a2)
2002-03-11 01:57:39 +00:00
Andrew Tridgell
2fb07df753
added a LOCK6 test for weird lockingX lock type bits
...
warning! this test reboots w2k or wxp
(This used to be commit 568e1d7b4389e5a49aa1d52eb4c74bc53dbc125f)
2002-03-11 01:37:08 +00:00
Andrew Tridgell
e450ba6639
added -E and -Z options, and allow for the 2 servers to have different
...
usernames/passwords
(This used to be commit 0ae4ba18e578d35206628fa29203c8becbbdc5cd)
2002-03-10 23:17:47 +00:00
Andrew Tridgell
b84c24092e
remove an unused variable
...
(This used to be commit 9c44ad4e42892be8fc99998fd53c3027353c0d1b)
2002-03-10 01:47:12 +00:00
Jeremy Allison
c960578ba0
Added another 2 delete on close tests. Now 10. Had to fix smbd to match...
...
Jeremy.
(This used to be commit bda1c31da68aa75aba780727e9aeaad17207668d)
2002-03-07 04:15:40 +00:00
Jeremy Allison
0876fb4113
Change xcopy test to use defined constants rather than magic hex
...
values so we can see what's going on.
Jeremy.
(This used to be commit 5ba4ba36339269b2059da7c103e63ecd948f7938)
2002-03-07 02:16:25 +00:00
Herb Lewis
86a9be69d3
fixed NBENCH test on IRIX (tridge)
...
(This used to be commit d3c593b1208085f6c44e1707165ebee2b1cb4113)
2002-03-06 21:05:26 +00:00
Herb Lewis
b9998ace1f
make error codes match W2k advanced server sp2
...
(This used to be commit c644ca6a663b615416cd809be4921688f85e84cf)
2002-03-06 18:55:01 +00:00
Andrew Tridgell
457112e9e4
show a progress bar during the deny tests
...
(This used to be commit c2c8c4e713c362d0c6864c6359d90cf6b218e545)
2002-03-05 19:52:14 +00:00
Andrew Tridgell
7f35a045fc
added -M option for minimum lock size
...
(This used to be commit 6acd98cbb92ec5c78686d23d2e05c1c98b5127fe)
2002-03-05 19:51:37 +00:00
Andrew Tridgell
ced46b906b
fixed NBENCH code for NT4 server ntcreatex semantics
...
(This used to be commit b71a729e14e928fae288daeab4226d7e1f8b1dc5)
2002-03-05 19:51:05 +00:00
Jeremy Allison
a4ff0924d6
Found the mp3 problem - it's a generic class bug w.r.t. renaming.
...
Added a rename torture test to illustrate the problem.
Jeremy.
(This used to be commit 509ac24525a0d1aaecc819a99590425a164aaf44)
2002-03-05 19:45:16 +00:00
Andrew Tridgell
1315c8c4cf
allow setting of lock range and base in locktest
...
(This used to be commit 97993630add4e8965f0395f92d34b0e8a6d9b875)
2002-03-04 00:35:28 +00:00
Andrew Tridgell
c40d0d5783
added -k options for kerberos to smbtorture and locktest
...
(This used to be commit 46b89bc9979229abc6e9f2f8c585a22dd4f22902)
2002-03-04 00:24:24 +00:00
Andrew Tridgell
7e9553c168
handle clock skew in getatr test
...
(This used to be commit 64c0a5c4a0d879ce8f9517717a0cd54a75c20619)
2002-03-03 20:47:44 +00:00
Andrew Tridgell
a59893fc4b
fixed -c option to NBENCH test
...
(This used to be commit f9e3b91f58df30440c8b90007997e012101235e3)
2002-03-03 20:31:35 +00:00
Andrew Tridgell
80592054fb
added a "XCOPY" test that simulates the open calls made by xcopy /O
...
we currently fail this test
(This used to be commit 8095375623cc19f7aad497bf39d5370d032ebdbf)
2002-02-24 08:38:11 +00:00
Andrew Tridgell
1f6d48f56d
added a cli_qfilename() test to the trans2 tests
...
(This used to be commit 81fb8845e5c9a321f113258a737ce5c6e799e505)
2002-02-21 04:27:16 +00:00
Andrew Tridgell
209467ece1
got rid of a silly '*' in printout
...
(This used to be commit 22be40b6b8c034c143ce5d804628bc12cb1cc3dd)
2002-02-05 06:42:35 +00:00
Andrew Tridgell
007a9a5cdc
- only show 1 cleanup msg per client
...
- show client count in progress
(This used to be commit 10ee1d22e606847d40fb013c694ed5733ef6b87b)
2002-02-05 03:55:20 +00:00
Andrew Tridgell
3608da565f
fixed the directory removal for when the dir doesn't exit
...
(This used to be commit 2c67b266cc4848dff6066fcbc875ab5f91113179)
2002-02-05 03:02:14 +00:00
Andrew Tridgell
38fa35571e
rewrote smbtorture to use the new dbench 2 format and methods
...
(This used to be commit 36f816a5e12a80f0184f43cbd44ef5fac53fcb81)
2002-02-05 01:31:47 +00:00
Tim Potter
cd68afe312
Removed version number from file header.
...
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-30 06:08:46 +00:00
Tim Potter
978f1ba98d
Quieten some pointer cast warnings.
...
(This used to be commit 1906903f063de526045be68d19cf39de3c029c6f)
2002-01-16 02:31:53 +00:00
Andrew Bartlett
80437a4cc0
Update the NT_STATUS -> DOS error table.
...
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-03 08:36:47 +00:00
Andrew Bartlett
8f88157dce
Make a couple more of the warnings also be C comments
...
(This used to be commit 8f343beae7455141ce6a5e27e46ed2970aed8e7f)
2002-01-03 07:42:15 +00:00
Andrew Bartlett
a8f356a71f
A few changes to always output the erorr mapping even when the error was
...
'squashed' or the session setup succeeded. (How the latter occurs I don't know).
(This used to be commit d879d2ffffc47ce161afb3d96bc5c4b92de662c3)
2002-01-03 07:36:26 +00:00
Andrew Bartlett
2998af3746
Workaround some 'smarts' in Win2k.
...
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-03 07:00:18 +00:00
Andrew Bartlett
f9866e88a6
Re-add bail on failure.
...
(This used to be commit da9444d98f212af8f1b1e1df191adf3c31d50f6d)
2002-01-03 06:10:25 +00:00