summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2009-07-15SMB2-CONNECT: unlink the test file at startupStefan Metzmacher1-0/+2
This is needed to get reproducable results... metze
2009-07-15torture/smb2: fix crash bugs in the new SMB2-DIR testsStefan Metzmacher1-2/+2
metze
2009-07-14torture/smb2: Adding SMB2 Directory enumeration torture tests.Aravind3-26/+1265
* Most of the tests were ported from SMB torture tests. * Added one new tests which checks the behavior of the file_index field present in SMB2_FIND struct. * Added one new test to check the enumeration of directories containing lots of files (~2000 files) with name lengths varying from 1 to 200 char.
2009-07-14s4-smbtorture: add RPC-SPOOLSS-PRINTER test.Günther Deschner2-0/+444
Guenther
2009-07-14s4-smbtorture: add some tests to check spoolss_SetPrinter behavior.Günther Deschner1-0/+558
Guenther
2009-07-14s4-smbtorture: restructure test_OpenPrinter_server in RPC-SPOOLSS a bit.Günther Deschner1-5/+7
Guenther
2009-07-06RAW-LOCK: fix a compiler warning and make a global static constStefan Metzmacher1-3/+2
metze
2009-07-06RAW-LOCK: fix the run against w2k3, w2k8, win7rc and samba3/4Stefan Metzmacher2-35/+52
We now allow --target=w2k8. The strange thing is that w2k8 and win7rc only do half of the timeout that was given by the client. metze
2009-07-06SMB2-NOTIFY: windows7 uses a different maximum buffer sizeStefan Metzmacher1-12/+21
metze
2009-07-02s4-smbtorture: fix getjob test in RPC-SPOOLSS.Günther Deschner1-0/+5
Guenther
2009-06-30s4-smbtorture: Test for newly added form with enum call in RPC-SPOOLSS.Günther Deschner1-0/+45
Guenther
2009-06-30s4-smbtorture: remove trailing whitespace from RPC-SPOOLSS.Günther Deschner1-98/+98
Guenther
2009-06-29s4-smbtorture: use torture_comment & torture_warning in RPC samr tests.Günther Deschner1-205/+206
Guenther
2009-06-29s4-smbtorture: correctly test comment behaviour in RPC-SAMR-USERS against s3.Günther Deschner1-7/+4
Guenther
2009-06-29s4-smbtorture: add RPC-SAMR-MACHINE-AUTH test.Günther Deschner2-1/+486
This test talks to a DC as a joined workstation member - in the same way winbindd does, in particular the calls used in this test's query pattern will all request for SEC_FLAG_MAXIMUM_ALLOWED access_mask (which pretty much all of samba's client code does as well). In fact this test verifies that winbind can correctly talk to a samba dc using samr dcerpc calls. Guenther
2009-06-29s4-smbtorture: add torture_suite_add_machine_workstation_rpc_iface_tcase.Günther Deschner5-10/+65
Unlike torture_suite_add_machine_bdc_rpc_iface_tcase() which joins as a BDC (ACB_SRVTRUST) this joins as a member workstation (ACB_WSTRUST). Guenther
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-29Fixes for SAMBA3RPC torture testMatthias Dieter Wallnöfer1-4/+11
On calls where both NT_STATUS and WERROR results are returned and consulted we have to make sure to form function results considering both. This errors have been found through a run against SAMBA 4.
2009-06-24s4-smbtorture: more paranoid checks while testing group membership in RPC-SAMR.Günther Deschner1-1/+27
Guenther
2009-06-19s4-smbtorture: fix test_GetInfoLevel crash bug in RPC-DFS.Günther Deschner1-0/+2
Guenther
2009-06-18s4:libnet Allow 'net password change' to work on expired passwordsAndrew Bartlett1-0/+2
We need to pass down flags to the DCE/RPC layer to allow fallback to anonymous connections, as we can't log in with an expired password. The anonymous connection can then change the password with SAMR. Andrew Bartlett
2009-06-18Fixes for the "cldap" testsMatthias Dieter Wallnöfer2-6/+19
- Insert a check after the "tsocket" library call to make sure that the call terminated correctly - Add a comment to explain why on further calls of "cldap_socket_init" the destination address hasn't to be specified
2009-06-18NETLOGON pipe improvementsMatthias Dieter Wallnöfer1-2/+2
Patch for bug #4939 This refactors the NETLOGON code related to this bug: - Introduces a new "SYNCSTATE" enum required by the "DatabaseSync2" call (acc. to WSPP) - Make "DatabaseSync" dependant from "DatabaseSync2" (acc. to WSPP) - Let "DatabaseSync2" return NT_STATUS_NOT_IMPLEMENTED (I'm not sure if this is also true when a domain is running in mixed mode) - Make "LogonControl" and "LogonControl2" dependant form "LogonControl2Ex" (acc. to WSPP) - Let "LogonControl2Ex" return WERR_NOT_SUPPORTED for now
2009-06-18Fix build with system LDB.Jelmer Vernooij1-1/+1
2009-06-17s4-smbtorture: add test for NetUserSetInfo level 0 (user rename).Günther Deschner1-2/+13
Guenther
2009-06-17s4-smbtorture: use torture_comment in RPC-SAMR-USERS-PRIVILEGES test.Günther Deschner1-15/+15
Guenther
2009-06-17s4-smbtorture: use TORTURE_TEST_USER define in libnetapi user test.Günther Deschner1-17/+15
Guenther
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-06-13smbtorture: Output subunit by default.Jelmer Vernooij1-1/+1
2009-06-13smbtorture: Remove unused 'quiet' output format.Jelmer Vernooij1-36/+0
2009-06-09SMB2-COMPOUND: add some tests for invalid requestsStefan Metzmacher1-0/+201
TODO: check why the INVALID1 tests fails with --signing=required. metze
2009-06-09s4:torture: add SMB2-COMPOUND testStefan Metzmacher3-1/+245
metze
2009-06-09s4-smbtorture: rename SECRETS to LSA-SECRETS.Günther Deschner1-1/+1
Guenther
2009-06-08s4-smbtorture: when testing RPC-SAMR-LARGE-DC its fine to just close the ↵Günther Deschner1-13/+17
objects. Guenther
2009-06-08s4-smbtorture: add test_QueryDisplayInfo_level to RPC-SAMR-LARGE-DC.Günther Deschner1-6/+79
Guenther
2009-06-08s4-smbtorture: also test for "all" architecture in enum driver tests in ↵Günther Deschner1-5/+28
RPC-SPOOLSS. Guenther
2009-06-08s4-smbtorture: fix test_ReportEventLog in RPC-EVENTLOG.Günther Deschner1-2/+2
Guenther
2009-06-08s4-smbtorture: exclude oem_information checking for s3 in RPC-SAMR.Günther Deschner1-4/+10
Guenther
2009-06-07s4-smbtorture: skip samr MultipleMember alias tests for 3 as well as we do ↵Günther Deschner1-2/+3
already for s4. Guenther
2009-06-04s4-smbtorture: fix comment in RPC-SAMR-LARGE-DC test.Günther Deschner1-3/+3
Andrew, I think you wanted to print this instead. Guenther
2009-06-04s4:torture Cut the RPC-SAMR-LARGE-DC test down to sizeAndrew Bartlett1-7/+16
This removes the validation of the estimated number of accounts, because MS-SAMR 3.1.5.5.1.1 makes clear the number returned cannot be relied apon. I've also converted a bit more of the test to use torture_assert(), and where that is impractical, to print error messages when things fail. Andrew Bartlett
2009-06-04s4:torture assert that we get a Mailslot allocated before we dereferenceAndrew Bartlett1-0/+2
2009-06-04s4:torture Make Samba4 build on hosts with an older libnetapiAndrew Bartlett2-4/+7
For example, Samba4 would not build (for the last week) on Fedora 10, with samba-common 3.2.11 installed. Andrew Bartlett
2009-06-03Note that the delaytime for update has changed betweek w2k3 and w2k8.Jeremy Allison1-7/+11
We must eventually parameterize this. Jeremy.
2009-06-03s3:torture: fix password timestamp checks on NetBSDBjörn Jacke1-1/+1
The Open Group says: "The useconds argument [of usleep] must be less than 1,000,000." NetBSD takes this seriously. usleep of more than 999999 are effectless.
2009-06-03s4:torture/libnetapi: fix netapi detectionStefan Metzmacher1-3/+7
We need to set SMB_ENABLE(TORTURE_LIBNETAPI,NO) first to overwrite the default of YES for MODULES and then only set it to YES if netapi was found. metze
2009-06-03SMB2-CONNECT: make it possible to specific the max write size via ↵Stefan Metzmacher1-1/+1
--option=torture:smb2maxwrite=12345 metze
2009-05-29s4-smbtorture: fix the build w/o libnetapi.Günther Deschner1-0/+8
This is surely the wrong fix, but I could not figure out why the samba4 build system adds the init function although the m4 macro had switched off the torture libnetapi subsystem when the headers and libs were not found. Can one of the samba4 build gurus please have a look ? Guenther
2009-05-29s4-smbtorture: add NETAPI-GROUP test.Günther Deschner3-1/+523
Guenther
2009-05-29s4-smbtorture: add NETAPI-USER test.Günther Deschner3-1/+479
Guenther