summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2010-06-11s4/test: Remove duplicated test_opendomain() functionalityKamen Mazdrashki1-54/+1
We already have a nice common test_domain_open() function in libnet/util.c
2010-06-11s4/test: libnet_user tests should use common test_user_cleanupKamen Mazdrashki1-129/+5
implementation instead of not-so-informative test_cleanup()
2010-06-11s4/test: Refactor test_user_cleanup to be more robustKamen Mazdrashki1-12/+84
We always call this function with user's account RDN while samr_LookupNames() searches for samAccountName.
2010-06-11s4/test: remove duplicated commentKamen Mazdrashki1-3/+0
2010-06-07s4-smbtorture: test workstation auth as well in RPC-SPOOLSS-ACCESS.Günther Deschner1-2/+34
Guenther
2010-06-07s4-smbtorture: handle printservers w/o printers in RPC-SPOOLSS-ACCESS.Günther Deschner1-2/+2
Guenther
2010-06-05s4-smbtorture: make RPC-SPOOLSS-ACCESS more compatible with older samba ↵Günther Deschner1-6/+9
releases. Guenther
2010-06-05s4-smbtorture: remove another incarnation of test_ClosePrinter.Günther Deschner1-19/+0
This should fix the build; why waf didn't catch that durint make bin/smbtorture4 ? Guenther
2010-06-05s4-smbtorture: add RPC-SPOOLSS-ACCESS.Günther Deschner4-2/+754
This test creates - a user - a user with BUILTIN\Administrators membership - a user with BUILTIN\Print Operators membership - a user with SePrintOperatorPrivilege (if available) - a user with full access in security descriptor and checks what access rights are granted in spoolss_OpenPrinterEx. Guenther
2010-06-05s4-smbtorture: share test_ClosePrinter between RPC-SPOOLSS and RPC-SPOOLSS-WIN.Günther Deschner2-26/+3
Guenther
2010-06-05s4-smbtorture: check error codes in RAP-SAM testsuite.Günther Deschner1-0/+2
Guenther
2010-06-04s4-smbtorture: completely rework RPC-SPOOLSS-PRINTER.Günther Deschner2-326/+521
This is now a child testsuite to RPC-SPOOLSS. You can call simple tests via RPC-SPOOLSS-{addprinter,addprinterex}-testname. Guenther
2010-06-04s4-smbtorture: rework order of test in RPC-SPOOLSS-PRINTSERVER a bit.Günther Deschner1-3/+3
Guenther
2010-06-03s4-smbtorture: convert RPC-SPOOLSS into a torture suite.Günther Deschner2-83/+212
Guenther
2010-06-03s4-smbtorture: allow to call single tests from a testcase in a testsuiteGünther Deschner1-0/+10
directly on the commandline. Guenther
2010-06-03s4-smbtorture: move PrintProcessors winreg test to main RPC-SPOOLSS test.Günther Deschner1-7/+2
Guenther
2010-06-03s4-smbtorture: add test_PrintProcessors_winreg.Günther Deschner1-0/+71
This does cross reference checks between spoolss PrintProcessors and entries stored in winreg. Guenther
2010-06-03s4-smbtorture: refactor test_EnumPrintProcessors().Günther Deschner1-35/+54
Guenther
2010-06-03s4-smbtorture: only test data up to a length of 9 bytes in ↵Günther Deschner1-1/+1
test_SetPrinterDataEx_matrix(). Guenther
2010-06-01s4-smbtorture: skip driverName and printerName DsSpooler tests for now.Günther Deschner1-2/+2
Guenther
2010-06-01s4-smbtorture: Make sure RPC-SPOOLSS and RPC-SPOOLSS-PRINTER pass against s3.Günther Deschner1-0/+37
Printjobs are extremely fragile beasts on paused virtual printers within make test. Very often the printq updater in the background is not fast enough, so subsequent tests don't get to the updated information. Something to remember and to work on later... Guenther
2010-05-31s3/s4:netrEnumerateTrustedDomains - this call returns a "NTSTATUS" resultMatthias Dieter Wallnöfer1-1/+1
See MS-NRPC 3.5.5.6.3.
2010-05-31s4:torture/rpc/netlogon.c - add another "LogonGetDomainInfo" testcaseMatthias Dieter Wallnöfer1-0/+17
Mark it as dangerous since it does break some target systems.
2010-05-28s4/test-libnet: Remove multiple test_samr_close() impelementationsKamen Mazdrashki2-45/+15
We now have a nice common test_samr_close_handle() function to use
2010-05-28s4/test-libnet-user: Remove test_createuser()Kamen Mazdrashki1-63/+3
We have same functionality already implemented by test_user_create() in libnet/utils.c
2010-05-28s4/test-libnet-utils: refactor test_user_create()Kamen Mazdrashki1-13/+39
- param names made more clear what they stand for - user RID out param is now optional, so that this function may be used in cases where we don't need user RID - SAMR connection handle is closed as it is not used further (we should play nice with servers)
2010-05-28s4/test: remove local impl for open_domain and use common oneKamen Mazdrashki2-57/+5
2010-05-28s4/test: remove torture/libnet/utils.h as we are using proto.h nowKamen Mazdrashki5-61/+4
2010-05-28s4/test: change prototype for test_opendomain()Kamen Mazdrashki6-13/+14
- name changed to test_domain_open to be more alike athore functions in utils.c file - output parameters moved to the end param list definition just after mem_ctx so it is somehow more clear those params are OUT
2010-05-28s4/test: Refactor test_opendomain to address followingKamen Mazdrashki1-16/+33
- param names made more clear what they stand for - dom_sid out param is now optional, so that this function may be used in cases where we don't need dom_sid - SAMR connection handle is closed as it is not used further
2010-05-28s4/test: make samr_close handle functio publicKamen Mazdrashki2-0/+26
It is to be used further for closing opened handles when testing using SAMR interface
2010-05-28s4/test: refactor NET-USERINFO test to be more 'torture' friendlyKamen Mazdrashki1-24/+6
Test may be further refactored to be converted as a test case (what it is actually)
2010-05-28s4/test: test_userinfo/_async tests should use passed user_name param valueKamen Mazdrashki1-2/+2
2010-05-28s4-smbtorture: finally test all levels in rap_NetUserGetInfo RAP-SAM test.Günther Deschner1-1/+1
Guenther
2010-05-28s4-smbtorture: remove obsolete handmarshalled rap code.Günther Deschner1-281/+0
Guenther
2010-05-28s4-smbtorture: we can fully use autogenerated code to pull info unions now.Günther Deschner1-172/+90
Guenther
2010-05-27s4-smbtorture: create the user to test in test_usergetinfo() in RAP-SAM.Günther Deschner1-3/+27
Guenther
2010-05-26s4-smbtorture: add usergetinfo to RAP-SAM.Günther Deschner1-0/+25
Guenther
2010-05-26s4-smbtorture: add smbcli_rap_netusergetinfo().Günther Deschner1-0/+175
Guenther
2010-05-26s4/test: Connect SAMR and LDARPC pipes before calling libnet_ functionsKamen Mazdrashki1-7/+29
In multi-DC environment, NBT name resolution may resolv domain name to any of DCs. This make this test to fail, as we are modifying the user account on one DC and query user info immediately after that on another DC.
2010-05-26s4/test: remove unused codeKamen Mazdrashki1-18/+0
There is no need anymore to modify samAccountName of the testing user to original value as test_cleanup() will spot the right samAccountName to delete
2010-05-26s4/test: make test_cleanup() in libnet_user library more robustKamen Mazdrashki1-4/+74
test_cleanup() is called always with RDN name of the user to be deleted. When modify-user test fails however, we end up with a user with RDN = libnetusertest and samAccountName = random_name. This way we can not delete the user and the error message is quite misleading (I've spent a *lot* of time trying to figure out if the database is corrupted because of this error).
2010-05-26s4/test: rename enum test_fields{} member names to be more descriptiveKamen Mazdrashki3-28/+29
2010-05-26s4/test: Replace hand-made field count to testKamen Mazdrashki3-8/+11
This patch replaces hand-make count of fields to be tested with defines for FIRST-LAST value for corresponding fields to test with. As a side-effect, 'acct_flags' is now included in tests.
2010-05-25s4:torture/rpc/samr.c: Fix the "ValidatePassword" testMatthias Dieter Wallnöfer1-3/+6
It was failing randomly due to an uninitialised "status" variable.
2010-05-22torture: fix typosSimo Sorce1-2/+2
2010-05-21s4:torture/rap/rap.c - quiet discard const warningMatthias Dieter Wallnöfer1-1/+1
2010-05-21s4:torture/raw/open.c - remove unused variables and fix error handlingMatthias Dieter Wallnöfer1-8/+3
2010-05-21s4-smbtorture: Fix NetUserPasswordSet2 RAP tests.Günther Deschner1-5/+40
Guenther
2010-05-21s4-smbtorture: fix smbcli_rap_netuserpasswordset2().Günther Deschner1-2/+2
Guenther