Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-10-02 | s4: fix various warnings (not "const" related ones) | Matthias Dieter Wallnöfer | 8 | -22/+16 | |
2009-10-02 | s4-torture: added a very simple samr ValidatePassword test | Andrew Tridgell | 1 | -0/+32 | |
2009-10-02 | ds-flags: use the new name DS_DNS_FOREST_ROOT | Andrew Tridgell | 1 | -5/+5 | |
Update to use the new DS_DNS_FOREST_ROOT name, which makes it clearer what this bit means (according to MS-ADTS doc) | |||||
2009-10-01 | s4/torture: Add two new SMB RAW-OPEN tests | Aravind Srinivasan | 1 | -1/+170 | |
* Add chained NTCREATEX_READX test which first tries to open/read a non-existant file failing on the open, then attempts the same operation on a file that does exist, opening and reading successfully. * Add test for open_dispositions on directories. | |||||
2009-10-01 | s4/torture: convert printf to torture_comment() in RAW-OPEN | Aravind Srinivasan | 1 | -58/+103 | |
Allows "make test" and other harnesses to print cleaner output. | |||||
2009-10-01 | s4/torture: second try on renaming oplocks.c to oplock.c | Steven Danneman | 1 | -0/+3617 | |
Forgot to "git add" the new file in commit b2bcfaae | |||||
2009-10-01 | s4/torture: rename oplocks.c to oplock.c to match SMB1 file layout | Steven Danneman | 2 | -3618/+1 | |
2009-10-01 | s4/torture: Ported SMB oplock torture tests to SMB2 | Steven Danneman | 2 | -68/+3510 | |
I've ported all applicable SMB oplock torture tests to SMB2, giving us a good base for SMB2 oplock testing. There are several differences between oplocks in SMB and SMB2, mostly because of differences in W2K3 and W2K8. The existing SMB oplock tests all pass against W2K3, but several fail against W2K8. These same tests were failing in SMB2, util I reworked them. BATCH19, BATCH20: In W2K3/SMB a setfileinfo - rename command wouldn't cause a sharing violation or break an existing oplock. It appears that in W2K8/SMB2 a sharing violation is raised. BATCH22: In W2K3/SMB when a second opener was waiting the full timeout of an oplock break, it would receive NT_STATUS_SHARING_VIOLATION after about 35 seconds. This bug has been fixed in W2K8/SMB2 and instead the second opener succeeds. LEVELII500: Added 1 new test checking that the server returns a proper error code when a client improperly replies to a levelII to none break notification. STREAM1: W2K8 now grants oplocks on alternate data streams. | |||||
2009-10-01 | s4/torture: fix typo in test comment | Steven Danneman | 1 | -1/+1 | |
2009-10-01 | s4/asn1: Added torture suite for ASN1 | Kamen Mazdrashki | 2 | -0/+2 | |
2009-10-01 | s4-tort-drs: Add bind_info for dcerpc_drsuapi_DsBind() call | Kamen Mazdrashki | 2 | -1/+41 | |
After this patch DsGetNCChanges() test works fine. bind_info returned by server is also cached for future use Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | |||||
2009-10-01 | s4-tort-drs: DsReplicaUpdateRefs test fixed and extended | Kamen Mazdrashki | 1 | -37/+50 | |
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | |||||
2009-10-01 | s4-tort: Added assertion macro for DRSUAPI call | Kamen Mazdrashki | 1 | -3/+16 | |
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | |||||
2009-09-30 | s4:torture: data_blob_hex_string() output is now lowercase. | Andrew Kroeger | 1 | -2/+2 | |
Based on the change in commit fb84edabbe9f358031117de2cf78613c704ac600, these tests needs to expect lowercase output. | |||||
2009-09-29 | s4/torture: fix RAW-OPLOCK-STREAM1 test after commit a11bb14 | Steven Danneman | 1 | -11/+12 | |
We were pulling junk memory for our stream names after the reordering of the struct definition. | |||||
2009-09-29 | s4/torture: Allow receiving of oplock break requests in any order | Steven Danneman | 1 | -88/+159 | |
Previously, the oplock torture tests, being single threaded, required the server to return oplock break requests, and other SMB packets in a specific order for us to verify "correctness". Of course, in several cases the protocol allows the break packets, especially breaks to levelII to come back in any order. With tevent we're now able to wait for oplock breaks in the middle of a torture test. I've added a helper to do this, and modified all oplock tests to allow returning of oplock breaks in any order. | |||||
2009-09-29 | s4/torture: convert printf to torture_comment() | Aravind Srinivasan | 1 | -2/+4 | |
Allows "make test" and other harnesses to print cleaner output. | |||||
2009-09-27 | parmlist: Add basic tests for test_get_int(). | Jelmer Vernooij | 2 | -0/+2 | |
2009-09-24 | s4 torture: Fix RAW-STREAMS to request more specific permissions | Tim Prouty | 1 | -1/+2 | |
This allows RAW-STREAMS to pass when the user isn't root on some systems that don't give full access rights to non-root users. | |||||
2009-09-22 | s4-torture: add some debug info to RPC-HANDLES | Andrew Tridgell | 1 | -0/+5 | |
2009-09-21 | Add tests for MS-ADTS:3.1.1.5.1.2 Naming Constraints | Anatoliy Atanasov | 1 | -0/+29 | |
2009-09-18 | s4:torture: the spoolss notify test should listen on the ncacn_np endpoint | Stefan Metzmacher | 1 | -0/+20 | |
metze | |||||
2009-09-18 | s4:torture: don't use 'pipe' as variable name it's a system call | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2009-09-13 | util_smb: For some (unknown) reason the previous patch changed the ↵ | Matthias Dieter Wallnöfer | 1 | -0/+0 | |
permissions - Reset them | |||||
2009-09-13 | Port the Samba 4 shm_setup to QNX. | Matt Kraai | 1 | -0/+18 | |
2009-09-15 | s4-repl: don't do double replication | Andrew Tridgell | 1 | -2/+4 | |
When we replicate from a remote DC, we need to note the new uSN that the local changes have resulted in, and modify the uSN that the notify task uses to determine if it should send a ReplicaSync message back to the remote DC. Otherwise we end up always triggering a ReplicaSync every time we replicate from another DC | |||||
2009-09-14 | Torture test for bug 6529 - Offline files conflict with Vista and Office 2003. | Jeremy Allison | 1 | -0/+131 | |
Ensure we don't regress. Jeremy. | |||||
2009-09-11 | s4-smbtorture: fix remaining lsa lookup call unknowns. sorry... | Günther Deschner | 1 | -4/+4 | |
Guenther | |||||
2009-09-11 | lsa: fill in more unknowns in lsa_LookupSid calls. | Günther Deschner | 1 | -6/+6 | |
Guenther | |||||
2009-09-11 | s4/tort: RPC-DRSUAPI test case refactored to match torture architecture | Kamen Mazdrashki | 2 | -68/+74 | |
2009-09-11 | s4/tort: code clean up using torture_drsuapi_assert_call() macro | Kamen Mazdrashki | 1 | -132/+36 | |
After this change, when a test fails, it gives reasonable failure message. | |||||
2009-09-11 | s4/tort: assert macro for drsuapi dcerpc call | Kamen Mazdrashki | 1 | -0/+26 | |
The macro actually wraps common code pattern used in almost every test for DRSUAPI interface | |||||
2009-09-11 | s4/tort: Propagate torture_context and use torture_comment | Kamen Mazdrashki | 1 | -66/+79 | |
NOTE: Not every place where printf is used is replaced by torture_comment. Future work shall "missed" printfs also. | |||||
2009-09-11 | s4/tort: CRACKNAMES tests to use private structure for testing. | Kamen Mazdrashki | 1 | -2/+33 | |
DsCrackNamesPrivate structure basically inherits DsPrivate structure while adding few test-specific members. | |||||
2009-09-11 | s4/tort: Make common setup/teardown drsuapi test funcs really common | Kamen Mazdrashki | 1 | -13/+6 | |
2009-09-11 | s4/tort: CrackNames test update to work against W2K3. | Kamen Mazdrashki | 1 | -0/+4 | |
DRSUAPI_DS_NAME_FORMAT_UKNOWN added to 'known-to-fail' responses as this actually means to ask AD to resolve a name from FQDN format to Unknown format. | |||||
2009-09-10 | s4/torture: fixed lots of crash bugs in the DRS tests | Andrew Tridgell | 1 | -17/+19 | |
2009-09-10 | s4/torture: don't mix declarations and code | Andrew Tridgell | 1 | -22/+22 | |
2009-09-09 | s4/torture: add new SMB oplock tests | Aravind Srinivasan | 1 | -2/+397 | |
* test if oplocks are granted when requesting delete-on-close * test how oplocks are broken by byte-range-lock requests | |||||
2009-09-09 | s4/torture: convert printf to torture_comment() | Aravind Srinivasan | 1 | -6/+9 | |
Allows "make test" and other harnesses to print cleaner output. | |||||
2009-09-08 | s4/torture/smb2: removed SMB2-FIND test | Steven Danneman | 3 | -222/+0 | |
This test has been wholly replaced by the SMB2-DIR-ONE test found in dir.c. | |||||
2009-09-08 | s4/torture/smb2: Fix several small bugs and style issues in SMB2 dir tests | Steven Danneman | 1 | -136/+152 | |
* removed all uses of printf, replaced with torture_comment * replaced custom CHECK macros with new torture_assert_*_todo() helpers * switched string dir name generation to generate_unique_strs() helper, to avoid non-deterministic test behavior where generate_rand_str() would cause file colissions in the same directory. | |||||
2009-09-08 | tort: RPC-CRACKNAMES test case refactored | Kamen Mazdrashki | 2 | -1/+18 | |
2009-09-08 | tort: DsCrackNames - propagate torture context to all tests. | Kamen Mazdrashki | 2 | -208/+166 | |
2009-09-08 | tort: Helper function to get DC info for testing | Kamen Mazdrashki | 1 | -0/+53 | |
2009-09-08 | tort: Implement 'setup' and 'teardown' for DRSUAPI test cases. | Kamen Mazdrashki | 2 | -0/+44 | |
2009-09-08 | s4: 'index' is a libc function | Andrew Tridgell | 1 | -2/+2 | |
2009-09-06 | s4:torture - Fix uninitialized variable | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-09-02 | s4-smbtorture: test netr_ServerSetPassword2 against Samba3. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-08-27 | s4-smbtorture: do not hard code BDC secure channel type into RPC-NETLOGON tests. | Günther Deschner | 1 | -9/+12 | |
Guenther |