summaryrefslogtreecommitdiffstats
path: root/source4/torture
Commit message (Collapse)AuthorAgeFilesLines
* RAW-LOCK: fix a compiler warning and make a global static constStefan Metzmacher2009-07-061-3/+2
| | | | metze
* RAW-LOCK: fix the run against w2k3, w2k8, win7rc and samba3/4Stefan Metzmacher2009-07-062-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
* SMB2-NOTIFY: windows7 uses a different maximum buffer sizeStefan Metzmacher2009-07-061-12/+21
| | | | metze
* s4-smbtorture: fix getjob test in RPC-SPOOLSS.Günther Deschner2009-07-021-0/+5
| | | | Guenther
* s4-smbtorture: Test for newly added form with enum call in RPC-SPOOLSS.Günther Deschner2009-06-301-0/+45
| | | | Guenther
* s4-smbtorture: remove trailing whitespace from RPC-SPOOLSS.Günther Deschner2009-06-301-98/+98
| | | | Guenther
* s4-smbtorture: use torture_comment & torture_warning in RPC samr tests.Günther Deschner2009-06-291-205/+206
| | | | Guenther
* s4-smbtorture: correctly test comment behaviour in RPC-SAMR-USERS against s3.Günther Deschner2009-06-291-7/+4
| | | | Guenther
* s4-smbtorture: add RPC-SAMR-MACHINE-AUTH test.Günther Deschner2009-06-292-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
* s4-smbtorture: add torture_suite_add_machine_workstation_rpc_iface_tcase.Günther Deschner2009-06-295-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
* Adds the impersonation level in ntcreatex requests to SAMBA 3 misc torture testMatthias Dieter Wallnöfer2009-06-291-0/+4
| | | | Specifies the impersonation level according to the reporter commit in bug #6283
* Fixes for SAMBA3RPC torture testMatthias Dieter Wallnöfer2009-06-291-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.
* s4-smbtorture: more paranoid checks while testing group membership in RPC-SAMR.Günther Deschner2009-06-241-1/+27
| | | | Guenther
* s4-smbtorture: fix test_GetInfoLevel crash bug in RPC-DFS.Günther Deschner2009-06-191-0/+2
| | | | Guenther
* s4:libnet Allow 'net password change' to work on expired passwordsAndrew Bartlett2009-06-181-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
* Fixes for the "cldap" testsMatthias Dieter Wallnöfer2009-06-182-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
* NETLOGON pipe improvementsMatthias Dieter Wallnöfer2009-06-181-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
* Fix build with system LDB.Jelmer Vernooij2009-06-181-1/+1
|
* s4-smbtorture: add test for NetUserSetInfo level 0 (user rename).Günther Deschner2009-06-171-2/+13
| | | | Guenther
* s4-smbtorture: use torture_comment in RPC-SAMR-USERS-PRIVILEGES test.Günther Deschner2009-06-171-15/+15
| | | | Guenther
* s4-smbtorture: use TORTURE_TEST_USER define in libnetapi user test.Günther Deschner2009-06-171-17/+15
| | | | Guenther
* Fix the posixtimedlock testVolker Lendecke2009-06-151-8/+53
| | | | | The previous version depended on the fact that smb_raw_lock_send just queued stuff. This changed with ebf5523b6e2ae0.
* smbtorture: Output subunit by default.Jelmer Vernooij2009-06-131-1/+1
|
* smbtorture: Remove unused 'quiet' output format.Jelmer Vernooij2009-06-131-36/+0
|
* SMB2-COMPOUND: add some tests for invalid requestsStefan Metzmacher2009-06-091-0/+201
| | | | | | TODO: check why the INVALID1 tests fails with --signing=required. metze
* s4:torture: add SMB2-COMPOUND testStefan Metzmacher2009-06-093-1/+245
| | | | metze
* s4-smbtorture: rename SECRETS to LSA-SECRETS.Günther Deschner2009-06-091-1/+1
| | | | Guenther
* s4-smbtorture: when testing RPC-SAMR-LARGE-DC its fine to just close the ↵Günther Deschner2009-06-081-13/+17
| | | | | | objects. Guenther
* s4-smbtorture: add test_QueryDisplayInfo_level to RPC-SAMR-LARGE-DC.Günther Deschner2009-06-081-6/+79
| | | | Guenther
* s4-smbtorture: also test for "all" architecture in enum driver tests in ↵Günther Deschner2009-06-081-5/+28
| | | | | | RPC-SPOOLSS. Guenther
* s4-smbtorture: fix test_ReportEventLog in RPC-EVENTLOG.Günther Deschner2009-06-081-2/+2
| | | | Guenther
* s4-smbtorture: exclude oem_information checking for s3 in RPC-SAMR.Günther Deschner2009-06-081-4/+10
| | | | Guenther
* s4-smbtorture: skip samr MultipleMember alias tests for 3 as well as we do ↵Günther Deschner2009-06-071-2/+3
| | | | | | already for s4. Guenther
* s4-smbtorture: fix comment in RPC-SAMR-LARGE-DC test.Günther Deschner2009-06-041-3/+3
| | | | | | Andrew, I think you wanted to print this instead. Guenther
* s4:torture Cut the RPC-SAMR-LARGE-DC test down to sizeAndrew Bartlett2009-06-041-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
* s4:torture assert that we get a Mailslot allocated before we dereferenceAndrew Bartlett2009-06-041-0/+2
|
* s4:torture Make Samba4 build on hosts with an older libnetapiAndrew Bartlett2009-06-042-4/+7
| | | | | | | For example, Samba4 would not build (for the last week) on Fedora 10, with samba-common 3.2.11 installed. Andrew Bartlett
* Note that the delaytime for update has changed betweek w2k3 and w2k8.Jeremy Allison2009-06-031-7/+11
| | | | | We must eventually parameterize this. Jeremy.
* s3:torture: fix password timestamp checks on NetBSDBjörn Jacke2009-06-031-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.
* s4:torture/libnetapi: fix netapi detectionStefan Metzmacher2009-06-031-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
* SMB2-CONNECT: make it possible to specific the max write size via ↵Stefan Metzmacher2009-06-031-1/+1
| | | | | | --option=torture:smb2maxwrite=12345 metze
* s4-smbtorture: fix the build w/o libnetapi.Günther Deschner2009-05-291-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
* s4-smbtorture: add NETAPI-GROUP test.Günther Deschner2009-05-293-1/+523
| | | | Guenther
* s4-smbtorture: add NETAPI-USER test.Günther Deschner2009-05-293-1/+479
| | | | Guenther
* s4-smbtorture: add very basic LIBNETAPI testsuite.Günther Deschner2009-05-295-0/+123
| | | | Guenther
* s4-smbtorture: add a very basic NSS-WRAPPER testsuite.Günther Deschner2009-05-292-1/+4
| | | | Guenther
* s4-smbtorture: remove trailing whitespace.Günther Deschner2009-05-291-3/+3
| | | | Guenther
* s4-smbtorture: Fix test_SamLogon() for netlogon servers not yet supportingGünther Deschner2009-05-291-0/+4
| | | | | | validation level 6. Guenther
* Win2k3 don't allow creating of domain trust accounts over SAMRAndrew Bartlett2009-05-291-1/+1
|
* s4:torture Don't try to Close a Deleted handleAndrew Bartlett2009-05-291-2/+0
|