Andrew Bartlett
27b7e51a3c
Merge from HEAD:
...
- fstring/pstring mixups
- the detection code that found them (disabled)
- a bit of whitespace
- a static
Andrew Bartlett
(This used to be commit 9b70fa868e
)
2003-01-14 08:53:59 +00:00
Andrew Bartlett
634c54310c
Merge from HEAD - make Samba compile with -Wwrite-strings without additional
...
warnings. (Adds a lot of const).
Andrew Bartlett
(This used to be commit 3a7458f947
)
2003-01-03 08:28:12 +00:00
Jeremy Allison
6aa11bf089
Added OPEN test with HIDDEN/NORMAL attributes.
...
Jeremy.
(This used to be commit fc5774b075
)
2002-11-18 23:13:25 +00:00
Gerald Carter
a834a73e34
sync'ing up for 3.0alpha20 release
...
(This used to be commit 65e7b5273b
)
2002-09-25 15:19:00 +00:00
Andrew Tridgell
e90b652848
updated the 3.0 branch from the head branch - ready for alpha18
...
(This used to be commit 03ac082dcb
)
2002-07-15 10:35:28 +00:00
Andrew Tridgell
4023a61892
merged the mangling test and passdb bugfixes into SAMBA_3_0
...
(This used to be commit 97eb3a121d
)
2002-04-12 10:18:46 +00:00
Tim Potter
f18b466bf6
Fixed some compile warnings.
...
(This used to be commit fd8b3009eb
)
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 30febde783
)
2002-03-28 02:42:25 +00:00
Jeremy Allison
414056e9f2
Tests for insane open semantics.
...
Jeremy.
(This used to be commit 6d6842abfa
)
2002-03-26 00:40:18 +00:00
Jeremy Allison
bca0b0fc36
Added 5 *NASTY* non-io open tests....
...
Jeremy.
(This used to be commit 15cb6267e2
)
2002-03-26 00:07:48 +00:00
Jeremy Allison
1bb3c9cd85
Forgot torture hacks...
...
Jeremy.
(This used to be commit ba6c3d65a5
)
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 3b1b8ac435
)
2002-03-23 02:57:44 +00:00
Jeremy Allison
a1249aca90
Correctly increment offset in cli_smbwrite.
...
Jeremy.
(This used to be commit 5b04b5f1df
)
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 76fe90343c
)
2002-03-19 23:19:00 +00:00
Tim Potter
ab13654dc9
Renamed get_nt_error_msg() to nt_errstr().
...
(This used to be commit 1f007d3ed4
)
2002-03-17 04:36:35 +00:00
Andrew Tridgell
59100a45a0
only try an ordinary file in lock6
...
(This used to be commit 965e23537c
)
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 3e69ea6846
)
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 568e1d7b43
)
2002-03-11 01:37:08 +00:00
Andrew Tridgell
b84c24092e
remove an unused variable
...
(This used to be commit 9c44ad4e42
)
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 bda1c31da6
)
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 5ba4ba3633
)
2002-03-07 02:16:25 +00:00
Herb Lewis
86a9be69d3
fixed NBENCH test on IRIX (tridge)
...
(This used to be commit d3c593b120
)
2002-03-06 21:05:26 +00:00
Herb Lewis
b9998ace1f
make error codes match W2k advanced server sp2
...
(This used to be commit c644ca6a66
)
2002-03-06 18:55:01 +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 509ac24525
)
2002-03-05 19:45:16 +00:00
Andrew Tridgell
c40d0d5783
added -k options for kerberos to smbtorture and locktest
...
(This used to be commit 46b89bc997
)
2002-03-04 00:24:24 +00:00
Andrew Tridgell
7e9553c168
handle clock skew in getatr test
...
(This used to be commit 64c0a5c4a0
)
2002-03-03 20:47:44 +00:00
Andrew Tridgell
a59893fc4b
fixed -c option to NBENCH test
...
(This used to be commit f9e3b91f58
)
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 8095375623
)
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 81fb8845e5
)
2002-02-21 04:27:16 +00:00
Andrew Tridgell
209467ece1
got rid of a silly '*' in printout
...
(This used to be commit 22be40b6b8
)
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 10ee1d22e6
)
2002-02-05 03:55:20 +00:00
Andrew Tridgell
38fa35571e
rewrote smbtorture to use the new dbench 2 format and methods
...
(This used to be commit 36f816a5e1
)
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 6a58c9bd06
)
2002-01-30 06:08:46 +00:00
Tim Potter
978f1ba98d
Quieten some pointer cast warnings.
...
(This used to be commit 1906903f06
)
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 a855dfb2e0
)
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 8f343beae7
)
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 d879d2ffff
)
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 d47e61eb46
)
2002-01-03 07:00:18 +00:00
Andrew Bartlett
f9866e88a6
Re-add bail on failure.
...
(This used to be commit da9444d98f
)
2002-01-03 06:10:25 +00:00
Andrew Tridgell
34b9c7cee2
fixed ERRMAPEXTRACT torture to work with win2k
...
(This used to be commit 27143900e7
)
2002-01-03 05:48:49 +00:00
Andrew Bartlett
1f9c32e738
Minor update to make the output 'real C'. (The output is intended to be a C
...
format table for inclusion back into Samba).
Andrew Bartlett
(This used to be commit 95abb2473b
)
2002-01-02 03:54:40 +00:00
Tim Potter
585d0efbc6
Got medieval on another pointless extern. Removed extern struct ipzero
...
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 778f5f77a6
)
2001-11-26 03:11:44 +00:00
Andrew Bartlett
a71f3f66a1
Add a new torture test to extract a NT->DOS error map from an NT member of a
...
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 adc7a6048c
)
2001-11-25 02:35:37 +00:00
Andrew Tridgell
fb57218a4a
fix maxfd test to start deleting at right file
...
(This used to be commit e4fb073af0
)
2001-11-20 08:49:16 +00:00
Martin Pool
f741f65673
Store some path names in global variables initialized to configure
...
default, rather than in preprocessor macros.
(This used to be commit 79ec88f0da
)
2001-11-19 02:49:53 +00:00
Andrew Tridgell
58bc10518b
the CASETABLE torture target now generates the complete unicode
...
equivalence table for a server. This was inspired by the chargen win32
code from monyo.
This takes a *long* time to run against a Samba server due to the case
insensitive comparisons in the filesystem. That makes it a N^2
operation, and N is 64k. It is linear on NT.
(This used to be commit 441f9415b3
)
2001-10-02 05:52:11 +00:00
Andrew Tridgell
4fe127dbe8
added a little smbtorture test for dumping the unicode table of a
...
server. This is just a framework right now - I want this to eventually
replace the win32 test code from monyo
The interesting this about this test is that it shows up a really
horrible performance bug in our stat cache code. I'll see if I can fix
it.
(This used to be commit eb668b54af
)
2001-09-25 05:20:43 +00:00
Andrew Tridgell
23af074326
fixed ctemp in server and client. It turns out that ctemp on NT is completely broken, and it's pointless to emulate their brokenness completely in this case, but at least this makes us use approximately the same packet format. The spec is complelet wrong in this case
...
(This used to be commit 2d507ec669
)
2001-09-17 04:23:48 +00:00
Andrew Bartlett
f7f0200210
Fix (I hope) for a number of little compile warnings found by the IRIX
...
compilers on the build farm.
Andrew Bartlett
(This used to be commit 0ff0a91a6b
)
2001-09-16 08:24:44 +00:00
Andrew Tridgell
b12a4dd9b6
declare dbf in one spot
...
(This used to be commit f41c3bb80f
)
2001-09-10 12:14:18 +00:00