summaryrefslogtreecommitdiff
path: root/source4/torture/raw/samba3misc.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-30s4-torture: convert samba3misc tests to use torture_failure and torture_assertAndrew Bartlett1-148/+105
This helps us when these tests fail, as subunit-formatted failures can be declared as knownfail entries, and show up correctly in the make test output. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 30 08:34:52 CEST 2012 on sn-devel-104
2012-04-30s4-torture: move samba3 tests to use torture helper functionsAndrew Bartlett1-33/+4
2012-04-30s4-torture: Move various samba3 tests to the torture_suite_add_1smb_test wrapperAndrew Bartlett1-38/+5
2011-11-29s4:torture: use tctx->ev as event context for pollingStefan Metzmacher1-3/+2
metze
2011-03-19source4/torture/raw: Fix prototypes for all functions.Jelmer Vernooij1-0/+1
2010-08-17smbtorture: Make SAMBA3CASEINSENSITIVE report failures properly.James Peach1-4/+6
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-4/+4
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-02-02Change uint_t to unsigned int in source4Matt Kraai1-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-02s4:torture/raw/samba3misc - Add "discard_const_p" macro before a stringMatthias Dieter Wallnöfer1-1/+1
2009-10-15s4-smb: declare root_fid as a file handleAndrew Tridgell1-5/+5
In order to implement root_fid in the s4 SMB server we need to declare it as a handle type, just as for other fnum values in SMB. This required some extensive (but simple) changes in many bits of code.
2009-06-29Adds the impersonation level in ntcreatex requests to SAMBA 3 misc torture testMatthias Dieter Wallnöfer1-0/+4
Specifies the impersonation level according to the reporter commit in bug #6283
2009-06-15Fix the posixtimedlock testVolker Lendecke1-8/+53
The previous version depended on the fact that smb_raw_lock_send just queued stuff. This changed with ebf5523b6e2ae0.
2009-02-20s4 torture: Add comment to clarify testZack Kirsch1-0/+3
2008-11-04Trigger (and fix) a bug in Samba3 making smbd an infinite data sourceVolker Lendecke1-0/+80
A deferred open directly followed by a ulogoffX makes smbd3 send an infinite stream of ERRinvuid replies :-(
2008-04-22Fix more failing tests to pass the event context.Simo Sorce1-1/+1
(This used to be commit d6c5d8baf0c48a6078a47bba33993a841ff526d9)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-0/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2007-12-21r26249: Remove a couple more uses of global_loadparm.Jelmer Vernooij1-6/+6
(This used to be commit 80a61200508a00d5b16a3e748ce92d54b9fefcd2)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-4/+4
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-12-21r25925: torture/raw: fix sending unitialized bytes in RAW-SAMBA3ROOTDIRFIDStefan Metzmacher1-0/+1
(found by make valgrindtest) metze (This used to be commit e95c2ffe009ebdc9993b75ecc1a47175ff840ec4)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-28/+28
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-1/+1
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25392: Add loadparm context as argument in a couple more places.Jelmer Vernooij1-3/+3
(This used to be commit c62f51cc28a37959128e78a1f34cfd4c6d3ba069)
2007-10-10r25310: Make sure we do not regress on r25309Volker Lendecke1-0/+70
(This used to be commit 4eb0ec51aae4d05ce7bace7ea6dce2511e9a670a)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij1-4/+4
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24798: RAW-SAMBA3POSIXTIMEDLOCKVolker Lendecke1-0/+151
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. (This used to be commit b0a40dd277c343f5c77c851b26981ddd8166f6bb)
2007-10-10r24728: Use more stock torture functions.Jelmer Vernooij1-2/+2
(This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33)
2007-10-10r24569: Add two testsVolker Lendecke1-0/+67
A subtest for rename to check if case-changing renames work A test that exposes the case insensitivity unix_convert bug (This used to be commit 786706322a920fd54585bec72d860ed112398f12)
2007-10-10r24529: Against samba3, treat EAS_NOT_SUPPORTED as acceptable for t2openVolker Lendecke1-2/+10
Many hosts in the build farm don't have EA support (This used to be commit 3cca299c72e0ae7da3d28d7284f1993eef9f1cea)
2007-10-10r24478: Check that NTrename also maps NT_STATUS_OBJECT_NAME_COLLISIONJeremy Allison1-0/+15
to ERRDOS, ERRrename. Jeremy. (This used to be commit 7cc8be50b6c64bc1d0a3f43ab5d78a28260a3c93)
2007-10-10r24477: Add a rename test to prove that NT_STATUS_OBJECT_NAME_COLLISIONJeremy Allison1-0/+25
is mapped to ERRDOS, ERRrename on a rename error, but mapped to ERRDOS, ERRfilexists on an open error. Jeremy. (This used to be commit e634c627b155b8ce9d325b7b23236861993cfd59)
2007-10-10r24473: Prove this is also the same for NTcreateX. It's pretty muchJeremy Allison1-0/+38
guarenteed now that NT_STATUS_OBJECT_NAME_COLLISION should map to ERRDOS, ERRfilexists on all open calls at least. Jeremy. (This used to be commit 125590e008549b2784b38f3fd8ff45b47dc3e3e9)
2007-10-10r24469: Start adding in the torture tests that prove that ↵Jeremy Allison1-1/+85
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. (This used to be commit 74a871ce705a8362cfcc3e9f46ffdb63edc02b32)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r20632: The extended RAW-SAMBA3BADPATH test led me to some wrong assumptions, inVolker Lendecke1-261/+2
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 (This used to be commit 33d842e27d7611dd1d3cbfa71d44d63c273ba785)
2007-10-10r20618: Fix a bug in bad_path handling that also exists in 3.0.23: For ↵Volker Lendecke1-5/+16
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 (This used to be commit 838afa8f7d2b10460725c1f0b519ce54fb84de88)
2007-10-10r20609: Additional torture test for our bad_path handling. Most of it is ↵Volker Lendecke1-2/+210
disabled for now, there are calls (for example trans2ffirst) which are quite dubious. Volker (This used to be commit 79846f09b98965af0817b362f45d11e69e23c3e4)
2007-10-10r20595: W2k and XP don't always show the top directory as hidden, w2k3 does. ↵Volker Lendecke1-17/+23
I think Samba should follow w2k3 in this respect. Volker (This used to be commit 6094ee9df5820cd26858e9c4eff5dfc7e60181ab)
2007-10-10r20508: Confirm a special case in samba3 reply_getatr that getatr("") always ↵Volker Lendecke1-0/+34
returns HIDDEN. Volker (This used to be commit 83a20912061c663ff422b038b41f01a9c7583afe)
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij1-3/+3
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10r16907: Add an index parameter to torture_open_connection. Next step is to ↵Volker Lendecke1-5/+2
enable the unclist parameter for all tests that do two connections, to enable cluster testing. Volker (This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
2007-10-10r16843: Confirm that openX uses the same mapping table as getatr.Jeremy Allison1-1/+94
Jeremy. (This used to be commit 1c84e57e712b03f03035abe26fd8adb71aa16994)
2007-10-10r16842: Jeremy, I almost don't dare checking this in.....Volker Lendecke1-0/+44
Volker (This used to be commit ec36c49c08bdd222d5514611a39f3caf096dac7b)
2007-10-10r16761: Added additional NTSTATUS and DOS error test for "."Jeremy Allison1-0/+5
This confirms a theory of mine... Added RAW-SAMBA3BADPATH to selectable options. Jeremy. (This used to be commit 4cd7a8ed621d6215202d4b60d183a013a221581b)
2007-10-10r16759: Jeremy, another little error case for you :-)Volker Lendecke1-0/+135
For the paths with illegal characters we should return ERRDOS:ERRbadpath in the DOS error case. We return ERRDOS:ERRinvalidname... Volker (This used to be commit c2203068f46064d067bf43fe50f330ce49dfc08a)
2007-10-10r16657: Test Jerry's iTunes bug, along with some more error conditionsVolker Lendecke1-0/+157
Volker (This used to be commit 12aa900eb2ffde3711a30c7e063bfba95128e91d)