Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-12-07 | s4 torture: Convert RAW-STREAMS to a set of test suites rather than a ↵ | Tim Prouty | 2 | -173/+206 | |
monolithic test | |||||
2009-12-07 | s4 torture: Update RAW-RENAME to pass against win7 | Tim Prouty | 1 | -5/+27 | |
2009-12-07 | s4 torture: Add a new RAW-STREAMS test to simulate the summary tab | Tim Prouty | 1 | -0/+96 | |
2009-12-07 | s4 torture: Fix the streams create disposition tests to actually return an ↵ | Tim Prouty | 1 | -2/+4 | |
error on failure | |||||
2009-12-07 | s4/torture: add test for zero byte read contention with byte range locks | Steven Danneman | 2 | -1/+274 | |
2009-12-07 | s4/torture: fix >80 column spacing issues | Steven Danneman | 2 | -9/+10 | |
2009-12-07 | s4/torture: add delete-on-close test for directories | Aravind Srinivasan | 1 | -0/+63 | |
This test opens a directory with delete on close, opens it again, and checks to make sure that the second open returned with NT_STATUS_DELETE_PENDING. | |||||
2009-12-07 | s4-smbtorture: disable some spoolss printerdata tests which s3 does not pass ↵ | Günther Deschner | 1 | -0/+13 | |
at the moment. Guenther | |||||
2009-12-07 | s4-smbtorture: fix RPC-SPOOLSS after _spoolss_SetPrinterDataEx IDL change. | Günther Deschner | 1 | -28/+48 | |
Guenther | |||||
2009-12-04 | Make smbtorture4 match Windows behavior. | Jeremy Allison | 1 | -41/+33 | |
Jeremy. | |||||
2009-12-04 | s4-smbtorture: heavily expand printerdata tests in RPC-SPOOLSS. | Günther Deschner | 1 | -67/+299 | |
Including new tests for: - spoolss_SetPrinterDataEx - spoolss_DeletePrinterDataEx - spoolss_DeletePrinterKey Guenther | |||||
2009-12-03 | s4 torture: Convert create_complex_file to use BASIC_INFO instead of ↵ | Zachary Loafman | 1 | -20/+26 | |
deprecated command Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-12-03 | s4 torture: Fix call to smbcli_open | Zachary Loafman | 1 | -1/+1 | |
Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-12-03 | s4 torture: Make RAW-SEARCH pass against win7 | Zachary Loafman | 3 | -2/+40 | |
Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-12-03 | s4 torture: Parameterize WRITE_AND_CLOSE support | Zachary Loafman | 2 | -0/+6 | |
Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-12-03 | s4 torture: Add lockread_supported based off of CAP_LOCK_AND_READ | Zachary Loafman | 2 | -0/+10 | |
Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-12-03 | s4 torture: Allow READ to be parameterized, add more readx tests | Zachary Loafman | 2 | -2/+30 | |
Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-12-03 | s4-torture: Allow the legacy DENY_FCB/DENY_DOS share modes to be ignored | Zachary Loafman | 2 | -0/+22 | |
Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-12-03 | s4 torture: Add a new RAW-OPLOCK test: BATCH26 | Tim Prouty | 1 | -0/+108 | |
Try a rename with a wide-open share mode on an already open file and the there is still share mode contention. For the reason why see: http://social.msdn.microsoft.com/Forums/en-US/os_fileservices/thread/3ca14dc9-da1f-4786-a8f7-a86e9903db0c Msft's anser: After further review, The reason for server to fail with sharing violation is that the windows server that executes a path-based rename request opens the file for DELETE access, but only with FILE_SHARED_READ as ShareAccess . Therefore, the existing open(frame 76), which has shared read/write/delete , is compatible with the Windows servers access mode (DELETE), but Windows servers open is not compatible with access mode in existing open. Note that it is correct to state that the logic in Windows server could have been written to allow shared read/write/delete in which case it would succeed as you mention. The behavior here is historical based on the existing implementation. | |||||
2009-12-03 | s4 torture: Close the third handle in RAW-OPLOCK-BATCH22 | Tim Prouty | 1 | -2/+5 | |
2009-12-03 | s4 torture: Convert an error to a warning in RAW-OPLOCK-BATCH22 | Tim Prouty | 1 | -12/+27 | |
Some servers choose to mark a client as bad if they fail an oplock break request by timing out (win7 is an example). Once the client is marked as bad, future oplock requests will timeout instantly. This causes subsequent runs of this test to fail, so rather than erroring out as a failure, a warning is printed instead. There is also a bug in w2k3 where it was incorrectly returning contending a share mode lock. It worked in XP and has been re-fixed in win7. This can also now be run against samba3. | |||||
2009-12-03 | s4 torture: Add a few more windows target types | Tim Prouty | 2 | -0/+6 | |
2009-12-03 | s4 torture: Convert to a more modern version of read in RAW-OPLOCK-BATCH4 | Tim Prouty | 1 | -5/+7 | |
2009-12-03 | s4 torture: Allow some implementations to break from level1 to none with two ↵ | Tim Prouty | 3 | -7/+21 | |
breaks | |||||
2009-12-03 | s4-smbtorture: check more WERRORs in RPC-SPOOLSS. | Günther Deschner | 1 | -34/+35 | |
Guenther | |||||
2009-12-03 | s4-smbtorture: call test_EnumPrinterDrivers with architecture in RPC-SPOOLSS. | Günther Deschner | 1 | -25/+6 | |
Guenther | |||||
2009-12-02 | s4/torture: add multiple lock cancel test | Steven Danneman | 1 | -2/+91 | |
See what happens when we have multiple outstanding lock requests and we try to cancel both of them within a single LockingAndX. On Windows, it seems only the first lock in the array is cancelled, and the second is left pending. Though, this behavior goes against the MS-CIFS spec. | |||||
2009-12-02 | s4/torture: add addition multiple lock tests | Steven Danneman | 2 | -29/+279 | |
* test that 2 locks in a single LockAndX are transactional * test that 1 unlock and 1 lock in a single LockAndX are not transactional * test that SMB2 doesn't like mixed lock/unlock in a single PDU | |||||
2009-12-02 | s4/torture: fix build warnings by removing unecessary const | Steven Danneman | 1 | -1/+1 | |
2009-12-02 | s4/torture: Add target functionality parameters to SMBv1 BRL tests | Steven Danneman | 3 | -7/+42 | |
Abstract the server requirements to pass some BRL tests. * The new default for >64bit lock tests, is that the server should return STATUS_INVALID_LOCK_RANGE. * Add parameter for targets that don't implement DENY_DOS | |||||
2009-12-03 | s4-smbtorture: be very strict in checking spools_EnumPrinterKey results. | Günther Deschner | 2 | -3/+15 | |
Guenther | |||||
2009-12-02 | samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey. | Günther Deschner | 2 | -32/+6 | |
This should finally resolve the endian issues we were seeing on sparc and is much cleaner for spoolss clients and servers. Guenther | |||||
2009-12-01 | s4 torture: Change oplock to use passthrough for exclusive3/batch11 | Tim Prouty | 1 | -2/+2 | |
In light of the INVALID_LEVEL that is seen for RAW_SFILEINFO_END_OF_FILE_INFO requests on a path, I'm changing these back to using the passthrough RAW_SFILEINFO_END_OF_FILE_INFORMATION to test the oplock break behavior as originally intended | |||||
2009-12-01 | s4 torture: Update RAW-SFILEINFO-END-OF-FILE to test some additional corner ↵ | Tim Prouty | 1 | -19/+104 | |
cases It turns out setting the end-of-file with Trans2SetPathInfo using the snia spec's info level will attempt to open the file, enforcing share modes, but then subsequentlys fail the setpathinfo with a dos error of INVALID_LEVEL. Doing a Trans2SetFileInfo with either end-of-file info level succeeds as expected. | |||||
2009-12-01 | Revert "s4 torture: Allow onefs to be checked like samba3 and samba4" | Tim Prouty | 1 | -1/+0 | |
This reverts commit 98f595036e196dd61340fef0faf63ca762a25307. No longer necessary | |||||
2009-12-01 | s4 torture: Change RAW-SFILEINFO-END-OF-FILE to check for share modes by default | Tim Prouty | 1 | -7/+5 | |
Since the windows behavior appears to be a bug, only check for the windows-style share mode bug if target=<windows variant> is specified | |||||
2009-12-01 | s4 torture: Move target macros to a common header instead of redefining them ↵ | Tim Prouty | 3 | -7/+8 | |
in multiple files | |||||
2009-12-01 | s4:torture/raw/lock - Fix "discard const" warnings by introducing ↵ | Matthias Dieter Wallnöfer | 1 | -3/+6 | |
"discard_const_p"s | |||||
2009-12-01 | s4:torture/nbt/wins - Add more casts | Matthias Dieter Wallnöfer | 1 | -6/+12 | |
2009-12-01 | s4:torture/nbench/nbench - Add a cast before "str_list_make_shell" | Matthias Dieter Wallnöfer | 1 | -2/+3 | |
2009-12-01 | s4:torture/ldap/ldap_sort - Add some casts to suppress warnings | Matthias Dieter Wallnöfer | 1 | -7/+7 | |
2009-11-30 | Fix bug 6546: Avoid accessing buf[-1] if NUL byte comes from fgets | Volker Lendecke | 1 | -1/+3 | |
2009-11-27 | s4-smbtorture: more and stricter tests for printer and data keys in RPC-SPOOLSS. | Günther Deschner | 1 | -4/+8 | |
Guenther | |||||
2009-11-27 | s4-torture: fixed error code for s4 in SMB2-LOCK test | Andrew Tridgell | 1 | -1/+8 | |
s4 returns NETWORK_NAME_DELETED if you attempt to use an invalid tree connection for a lock. This test (correctly I think) happens before we validate the file handle. That implies that when you pass both a closed handle and a invalid tree you should get NT_STATUS_NETWORK_NAME_DELETED. | |||||
2009-11-27 | s4-torture: mark s4 as doing valid lock range tests on SMB | Andrew Tridgell | 1 | -1/+2 | |
2009-11-27 | s4-torture: fixed expected error codes for s4 in SMB2-LOCK | Andrew Tridgell | 1 | -3/+22 | |
I think the error/success codes returned by windows for these tests are quite bogus. The ones s4 gives are much more reasonable. The locking ones returning NT_STATUS_SUCCESS could lead to data loss, as an application thinks it has a file locked correctly when it fact it doesn't, so it could do an unsafe modify. | |||||
2009-11-27 | s4-drstest: don't use getenv("LDB_URL") in test suites | Andrew Tridgell | 1 | -18/+7 | |
I was stumped for a while as to why the drs test suite was failing for me. It turned out that it looked for LDB_URL in the environment, and used it if set. I had it set in my terminal, and it was happily munching on my sam.ldb while testing. Quite a cute bug really :-) | |||||
2009-11-27 | torture: fixed SMB2-LOCK valgrind error | Andrew Tridgell | 1 | -1/+2 | |
2009-11-26 | s4-smbtorture: refactor RPC-SAMR-LARGE-DC test a little more. | Günther Deschner | 1 | -25/+26 | |
Guenther | |||||
2009-11-26 | s4-smbtorture: add torture_samr_context to carry some RPC-SAMR-X specifics. | Günther Deschner | 1 | -84/+111 | |
Guenther |