1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-20 16:23:51 +03:00
Commit Graph

30 Commits

Author SHA1 Message Date
Jelmer Vernooij
80a6120050 r26249: Remove a couple more uses of global_loadparm. 2007-12-21 05:47:27 +01:00
Jelmer Vernooij
a33a553054 r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm. 2007-12-21 05:47:20 +01:00
Stefan Metzmacher
e95c2ffe00 r25925: torture/raw: fix sending unitialized bytes in RAW-SAMBA3ROOTDIRFID
(found by make valgrindtest)

metze
2007-12-21 05:45:05 +01:00
Jelmer Vernooij
566aa14139 r25554: Convert last instances of BOOL, True and False to the standard types. 2007-10-10 15:07:55 -05:00
Jelmer Vernooij
3fcc960839 r25398: Parse loadparm context to all lp_*() functions. 2007-10-10 15:07:25 -05:00
Jelmer Vernooij
c62f51cc28 r25392: Add loadparm context as argument in a couple more places. 2007-10-10 15:07:24 -05:00
Volker Lendecke
4eb0ec51aa r25310: Make sure we do not regress on r25309 2007-10-10 15:07:12 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Jelmer Vernooij
08bb1ef643 r25000: Fix some more C++ compatibility warnings. 2007-10-10 15:05:27 -05:00
Volker Lendecke
b0a40dd277 r24798: RAW-SAMBA3POSIXTIMEDLOCK
This adds the torture:localdir option, smbtorture expects the share to actually
reside in this directory. This might open up more solid posix vs cifs tests.
2007-10-10 15:03:12 -05:00
Jelmer Vernooij
da3a7ee407 r24728: Use more stock torture functions. 2007-10-10 15:02:58 -05:00
Volker Lendecke
786706322a r24569: Add two tests
A subtest for rename to check if case-changing renames work

A test that exposes the case insensitivity unix_convert bug
2007-10-10 15:02:17 -05:00
Volker Lendecke
3cca299c72 r24529: Against samba3, treat EAS_NOT_SUPPORTED as acceptable for t2open
Many hosts in the build farm don't have EA support
2007-10-10 15:02:11 -05:00
Jeremy Allison
7cc8be50b6 r24478: Check that NTrename also maps NT_STATUS_OBJECT_NAME_COLLISION
to ERRDOS, ERRrename.
Jeremy.
2007-10-10 15:01:55 -05:00
Jeremy Allison
e634c627b1 r24477: Add a rename test to prove that NT_STATUS_OBJECT_NAME_COLLISION
is mapped to ERRDOS, ERRrename on a rename error, but mapped
to ERRDOS, ERRfilexists on an open error.
Jeremy.
2007-10-10 15:01:55 -05:00
Jeremy Allison
125590e008 r24473: Prove this is also the same for NTcreateX. It's pretty much
guarenteed now that NT_STATUS_OBJECT_NAME_COLLISION should
map to ERRDOS, ERRfilexists on all open calls at least.
Jeremy.
2007-10-10 15:01:55 -05:00
Jeremy Allison
74a871ce70 r24469: Start adding in the torture tests that prove that NT_STATUS_OBJECT_NAME_COLLISION
should map to ERRDOS, ERRfilexists not ERRDOS, ERRrename as it currently does in
the errormap. This will break the build farm against Samba3 until I start adding
in the hand mapping from the above. Tridge - we may need to reconsider the mapping
here.
Jeremy.
2007-10-10 15:01:54 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Volker Lendecke
33d842e27d r20632: The extended RAW-SAMBA3BADPATH test led me to some wrong assumptions, in
particular the NT_STATUS_INVALID_PARAMETER thing was badly wrong. Remove the
changes based on it. Using gentest is much more effective in this respect, but
it will take a while to figure out the wildcard error handling of W2k3.

Volker
2007-10-10 14:37:18 -05:00
Volker Lendecke
838afa8f7d r20618: Fix a bug in bad_path handling that also exists in 3.0.23: For reply_unlink
under Linux we returned NT_STATUS_NOT_A_DIRECTORY. This is because in the
bad_path==True condition lstat(2) returns ENOTDIR and not ENOENT.

Not sure if we want to necessarily replicate the INVALID_PARAMETER here, but
this is what W2k3 does.

Jeremy, I tried to call you, but you were not around. So I'll leave it up to
you to merge this.

Volker
2007-10-10 14:37:15 -05:00
Volker Lendecke
79846f09b9 r20609: Additional torture test for our bad_path handling. Most of it is disabled for
now, there are calls (for example trans2ffirst) which are quite dubious.

Volker
2007-10-10 14:37:13 -05:00
Volker Lendecke
6094ee9df5 r20595: W2k and XP don't always show the top directory as hidden, w2k3 does. I think
Samba should follow w2k3 in this respect.

Volker
2007-10-10 14:37:11 -05:00
Volker Lendecke
83a2091206 r20508: Confirm a special case in samba3 reply_getatr that getatr("") always returns
HIDDEN.

Volker
2007-10-10 14:36:02 -05:00
Jelmer Vernooij
b28860978f r19392: Use torture_setting_* rather than lp_parm_* where possible. 2007-10-10 14:21:24 -05:00
Volker Lendecke
a5d6db0924 r16907: Add an index parameter to torture_open_connection. Next step is to enable the
unclist parameter for all tests that do two connections, to enable cluster
testing.

Volker
2007-10-10 14:09:58 -05:00
Jeremy Allison
1c84e57e71 r16843: Confirm that openX uses the same mapping table as getatr.
Jeremy.
2007-10-10 14:09:52 -05:00
Volker Lendecke
ec36c49c08 r16842: Jeremy, I almost don't dare checking this in.....
Volker
2007-10-10 14:09:50 -05:00
Jeremy Allison
4cd7a8ed62 r16761: Added additional NTSTATUS and DOS error test for "."
This confirms a theory of mine...
Added RAW-SAMBA3BADPATH to selectable options.
Jeremy.
2007-10-10 14:09:44 -05:00
Volker Lendecke
c2203068f4 r16759: Jeremy, another little error case for you :-)
For the paths with illegal characters we should return ERRDOS:ERRbadpath in
the DOS error case. We return ERRDOS:ERRinvalidname...

Volker
2007-10-10 14:09:43 -05:00
Volker Lendecke
12aa900eb2 r16657: Test Jerry's iTunes bug, along with some more error conditions
Volker
2007-10-10 14:09:36 -05:00