summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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
2009-05-29s4-smbtorture: add very basic LIBNETAPI testsuite.Günther Deschner5-0/+123
Guenther
2009-05-29s4-smbtorture: add a very basic NSS-WRAPPER testsuite.Günther Deschner2-1/+4
Guenther
2009-05-29s4-smbtorture: remove trailing whitespace.Günther Deschner1-3/+3
Guenther
2009-05-29s4-smbtorture: Fix test_SamLogon() for netlogon servers not yet supportingGünther Deschner1-0/+4
validation level 6. Guenther
2009-05-29Win2k3 don't allow creating of domain trust accounts over SAMRAndrew Bartlett1-1/+1
2009-05-29s4:torture Don't try to Close a Deleted handleAndrew Bartlett1-2/+0
2009-05-29s4:torture Don't run QueryDisplayInfo test for SAMR-USERS-PRIVILEGESAndrew Bartlett1-2/+7
2009-05-29s4:torture Clean up users and groups added in RPC-SAMR-LARGE-DCAndrew Bartlett1-11/+37
2009-05-29s4:torture Half the repeditive tests run by RPC-SAMR-PASSWORDS-PWDLASTSETAndrew Bartlett1-1/+6
2009-05-29s4:torture Make the RPC-SAMR-PWDLASTET more efficientAndrew Bartlett1-49/+43
By using SamLogonEx we avoid setting up the credentials chain for each request. (Needs to be pushed further up the stack, to only connect to NETLOGON once). Andrew Bartlett
2009-05-25source{3,4}/torture/smbiconv.c(main): fixed file descriptor leak.Slava Semushin1-0/+1
File descriptor leaks only when we use file instead of stdout. Found by cppcheck: [./source3/torture/smbiconv.c:219]: (error) Resource leak: out [./source4/torture/smbiconv.c:211]: (error) Resource leak: out
2009-05-25s4-smbtorture: add RPC-SAMR-LARGE-DC test.Günther Deschner2-1/+332
This rather simple test creates 4500 objects on a domain controller and checks the enum calls for the correct number of results. Guenther
2009-05-25s4-smbtorture: rename test_EnumDomain{Users,Groups,Aliases} in RPC-SAMR.Günther Deschner1-11/+12
Guenther
2009-05-25s4-smbtorture: re-work test_Create{User,Group,Alias} a little.Günther Deschner1-14/+38
Guenther
2009-05-20SMB2-LOCK: let the test pass against samba4Stefan Metzmacher1-1/+7
metze
2009-05-18s4 torture: Fix typoTim Prouty1-1/+1
2009-05-19s4-smbtorture: Fix build warning in RPC-SAMR tests.Günther Deschner1-2/+2
Guenther
2009-05-18s4-smbtorture: add RPC-SAMR-USERS-PRIVILEGES test.Günther Deschner2-9/+387
This test demonstrates the independence of the lsa and samr accounts while remove a samr users that still has privileges granted. Guenther
2009-05-14s4:torture Use str_list_make_single where appropriateAndrew Bartlett1-10/+10
2009-05-13s4-smbtorture: split RPC-SAMR-ACCESSMASK into several tests.Günther Deschner1-34/+24
Guenther
2009-05-13s4-smbtorture: cosmetic cleanup for RPC-SAMR-ACCESSMASK.Günther Deschner1-50/+50
Guenther
2009-05-12s4-smbtorture: skip SetMemberAttributesOfGroup in RPC-SAMR for s3 as well.Günther Deschner1-1/+2
Guenther
2009-05-12s4-smbtorture: Skip secdesc set calls for non-user objects in RPC-SAMR for ↵Günther Deschner1-8/+18
Samba3. Note that they are skipped for all objects while testing Samba4. Guenther
2009-05-12s4-smbtorture: Fix order of assert args in test_TestPrivateFunctionsDomain() ↵Günther Deschner1-1/+1
in RPC-SAMR. Guenther
2009-05-12s4-smbtorture: switch to use torture_context in RPC-SAMR.Günther Deschner1-103/+131
Guenther
2009-05-12s4-smbtorture: remove trailing whitespace in RPC-SAMR.Günther Deschner1-252/+252
Guenther
2009-05-11s4-smbtorture: add very basic RPC-LSA-LOOKUPNAMES test.Günther Deschner2-0/+67
Guenther
2009-05-11s4-smbtorture: add optional very simple reply checks to lsa lookup name tests.Günther Deschner1-7/+34
Guenther
2009-05-11s4-smbtorture: remove trailing whitespace in RPC-LSA test.Günther Deschner1-192/+192
Guenther
2009-05-11s4-smbtorture: use struct torture_context in RPC-LSA.Günther Deschner1-211/+207
Guenther