1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

158 Commits

Author SHA1 Message Date
Andrew Tridgell
28d325227c make the LOCK1 test randomise the time for the blocking lock test -
Andrew Bartlett
21b0e8f560 More cleanups, and add a comment/hint not to clean somthing up in future :-)
Andrew Bartlett
-
Andrew Bartlett
897cc4a610 Another smattering of static and const -
Jeremy Allison
95d22f18d7 Test how many pipes we can open.
Jeremy.
-
Andrew Bartlett
92eead1a0a more dl* -> sys_dl* for sco -
Simo Sorce
c4d6a49779 add collision/total indication to every collision report -
Richard Sharpe
6d52aa1fc8 Back out the wrong changes I made yesterday ... -
Richard Sharpe
ba4d6c76aa Fix smbtorture so it can handle collisions etc ... -
Andrew Tridgell
61c61f6b4f nicer measurement of failures and collisions -
Andrew Tridgell
65609c5296 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
-
Andrew Tridgell
858fa7efc3 - added a mangling test suite that measures the collision rate on
randomised filenames

- fixed several mangling bugs that the test suite pointed out
-
Tim Potter
fd8b3009eb Fixed some compile warnings. -
Andrew Tridgell
30febde783 a dodgy fix for a dodgy race condition in smbtorture child startup -
Jeremy Allison
6d6842abfa Tests for insane open semantics.
Jeremy.
-
Jeremy Allison
15cb6267e2 Added 5 *NASTY* non-io open tests....
Jeremy.
-
Jeremy Allison
ba6c3d65a5 Forgot torture hacks...
Jeremy.
-
Jeremy Allison
3b1b8ac435 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.
-
Herb Lewis
bdac7cb9c5 add a -n maxloops option so this can be run in a script and end after a
certain number of iterations.
-
Herb Lewis
8b38cca631 merge fix for core dump when called with no args from 2.2 -
Herb Lewis
32d5dc824a update usage message with other options. Add a -d debuglevel option -
Jeremy Allison
5b04b5f1df Correctly increment offset in cli_smbwrite.
Jeremy.
-
Andrew Tridgell
76fe90343c the beginning of a test to determine and display a servers properties
just shows capabilities at the moment
-
Tim Potter
1f007d3ed4 Renamed get_nt_error_msg() to nt_errstr(). -
Andrew Tridgell
965e23537c only try an ordinary file in lock6 -
Andrew Tridgell
3e69ea6846 expanded the lock6 test a bit to try lsarpc as well
this allows us to check that we refuse locking on pipes
-
Andrew Tridgell
568e1d7b43 added a LOCK6 test for weird lockingX lock type bits
warning! this test reboots w2k or wxp
-
Andrew Tridgell
0ae4ba18e5 added -E and -Z options, and allow for the 2 servers to have different
usernames/passwords
-
Andrew Tridgell
9c44ad4e42 remove an unused variable -
Jeremy Allison
bda1c31da6 Added another 2 delete on close tests. Now 10. Had to fix smbd to match...
Jeremy.
-
Jeremy Allison
5ba4ba3633 Change xcopy test to use defined constants rather than magic hex
values so we can see what's going on.
Jeremy.
-
Herb Lewis
d3c593b120 fixed NBENCH test on IRIX (tridge) -
Herb Lewis
c644ca6a66 make error codes match W2k advanced server sp2 -
Andrew Tridgell
c2c8c4e713 show a progress bar during the deny tests -
Andrew Tridgell
6acd98cbb9 added -M option for minimum lock size -
Andrew Tridgell
b71a729e14 fixed NBENCH code for NT4 server ntcreatex semantics -
Jeremy Allison
509ac24525 Found the mp3 problem - it's a generic class bug w.r.t. renaming.
Added a rename torture test to illustrate the problem.
Jeremy.
-
Andrew Tridgell
97993630ad allow setting of lock range and base in locktest -
Andrew Tridgell
46b89bc997 added -k options for kerberos to smbtorture and locktest -
Andrew Tridgell
64c0a5c4a0 handle clock skew in getatr test -
Andrew Tridgell
f9e3b91f58 fixed -c option to NBENCH test -
Andrew Tridgell
8095375623 added a "XCOPY" test that simulates the open calls made by xcopy /O
we currently fail this test
-
Andrew Tridgell
81fb8845e5 added a cli_qfilename() test to the trans2 tests -
Andrew Tridgell
22be40b6b8 got rid of a silly '*' in printout -
Andrew Tridgell
10ee1d22e6 - only show 1 cleanup msg per client
- show client count in progress
-
Andrew Tridgell
2c67b266cc fixed the directory removal for when the dir doesn't exit -
Andrew Tridgell
36f816a5e1 rewrote smbtorture to use the new dbench 2 format and methods -
Tim Potter
6a58c9bd06 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
Tim Potter
1906903f06 Quieten some pointer cast warnings. -
Andrew Bartlett
a855dfb2e0 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
-
Andrew Bartlett
8f343beae7 Make a couple more of the warnings also be C comments -