1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-21 01:59:07 +03:00

92 Commits

Author SHA1 Message Date
Jeremy Allison
43db249fb8 Ensure we cope correctly with ea length of zero. Detect torture fail correctly.
Jeremy.
-
Jeremy Allison
01fb871762 Setting EA's to zero length deletes them.
Jeremy.
-
Jeremy Allison
0d239a9c07 Fix get/set of EA's in client library. Added torture test for it.
Jeremy.
-
Jeremy Allison
5eeeee302c Working (tested) client code for setting EA's by filename and fnum.
Now for parsing out the retrieved EA's.
Jeremy.
-
Jeremy Allison
5646b6c989 Merging Richard's rename test.
Jeremy.
-
Jim McDonough
4319df7fdc Janitor for tpot...bugzilla #1098, msleep already exists on aix -
Jeremy Allison
0ea0ada6c6 Make SMB_FILE_ACCESS_INFORMATION call work correctly.
Jeremy.
-
Jeremy Allison
5c6f8b1053 Make us bug-for-bug compatible with W2K3 - to get delete on close semantics
on an initial open the desired_access field *must* contain DELETE_ACCESS,
simply having it map from a GENERIC_ALL won't do. Fixes delete on close test.
Jeremy.
-
Volker Lendecke
3663ed2b96 Fix Bug # 924
Volker
-
Richard Sharpe
34351e457a A small fix to torture.c to cleanup the error handling and prevent crashes.
I really should clean up the comment as well.
-
Tim Potter
0519a7022b Final round of printf warnings fixes for the moment. -
Jeremy Allison
879309671d Add a command line option (-S on|off|required) to enable signing on client
connections. Overrides smb.conf parameter if set.
Jeremy.
-
Gerald Carter
9f835b85dd convert snprintf() calls using pstrings & fstrings
to pstr_sprintf() and fstr_sprintf() to try to standardize.
lots of snprintf() calls were using len-1; some were using
len.  At least this helps to be consistent.
-
Andrew Tridgell
24feb1afa6 fixed smbtorture LOCK1 test to know about the correct multiplier for
timed blocking locks
-
Jelmer Vernooij
d817eaf0ec Reverse previous patch from Stefan and me after comments by Andrew Bartlett -
Jelmer Vernooij
74d9ecfe2d Patch from metze and me that adds dummy smb_register_*() functions so
that is now possible to, for example, load a module which contains
an auth method into a binary without the auth/ subsystem built in.
-
Andrew Bartlett
0dfeaf4535 Fix use of uninitialised value in TCONDEV test - found by sun1 on the build farm -
Andrew Bartlett
a93057efcb Add a check to ensure that the server returns the correct device type, not
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
-
Andrew Bartlett
0c83712692 Merge torture tests from HEAD - it looks like we had rather an incomplete
merge last time.  I hope this might fix a few failures on the build farm too.

Andrew Bartlett
-
Gerald Carter
7798c7ee1a fixing torture build by merging code from HEAD -
John Terpstra
b522892215 Merge from HEAD to define variable port_to_use. Needed to compile. -
Volker Lendecke
6f94ab8ed5 This changes our handling of invalid service types that the
client requested on tconx. We now return the same error
code like NT4SP6 and W2kSP3 return.

TCONDEV is a little test for this.

Volker
-
Andrew Bartlett
a25f612664 Cleint-side-auth/kerberos fixes from HEAD, and don't connect to a share
twice, let the libsmb code determine what form the share name should take.

Andrew Bartlett
-
Andrew Bartlett
9b70fa868e Merge from HEAD:
- fstring/pstring mixups
 - the detection code that found them (disabled)
 - a bit of whitespace
 - a static

Andrew Bartlett
-
Andrew Bartlett
3a7458f947 Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
-
Jeremy Allison
fc5774b075 Added OPEN test with HIDDEN/NORMAL attributes.
Jeremy.
-
Gerald Carter
65e7b5273b sync'ing up for 3.0alpha20 release -
Andrew Tridgell
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 -
Andrew Tridgell
97eb3a121d merged the mangling test and passdb bugfixes into SAMBA_3_0 -
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.
-
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
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 -
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
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 -