summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2010-09-16s4-smbtorture: add NDR spoolss_GetPrinterDriver2 in and out check functions.Günther Deschner1-2/+49
Guenther
2010-09-16s4-smbtorture: finally enable most of our NDR_OUT NDR tests that we couldnt ↵Günther Deschner3-10/+6
handle previously. Guenther
2010-09-16s4-smbtorture: add functions to do NDR_OUT ndr_pull validation including ↵Günther Deschner2-0/+99
NDR_IN context. Guenther
2010-09-16s4-smbtorture: fix some indentation in NDR testsuite.Günther Deschner1-28/+30
Guenther
2010-09-16s3-smbtorture: fixup trailing whitespace in ndr testsuite.Günther Deschner2-35/+35
Guenther
2010-09-16s4-smbtorture: add spoolss_GetPrinterDriver2 NDR tests.Günther Deschner1-0/+212
Guenther
2010-09-16s4-smbtorture: mention -v switch for hexdump imports into the NDR testsuites.Günther Deschner1-1/+1
Guenther
2010-09-16s4-smbtorture: activate spoolss_GetPrinterData NDR pull test.Günther Deschner1-2/+2
Guenther
2010-09-16torture/raw Allow one more 'not implemented' status return as a valid responseAndrew Bartlett1-1/+2
The Samba4 server responds to most ioctl calls with NT_STATUS_NOT_SUPPORTED Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-16s4-torture assert that we get a temp datagram socket.Andrew Bartlett1-4/+8
I've seen a segfault because we failed to check this isn't NULL before we use it. This will still of course fail, but not so spectacularly. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-16s4-smbtorture: try FSCTL_FIND_FILES_BY_SID with random blob data in RAW-IOCTL.Günther Deschner1-0/+21
Guenther
2010-09-15s4/fsmo: Extended fsmo test with infrastructure, pdc and rid rolesAnatoliy Atanasov1-21/+44
2010-09-15s4-libnet: print the domain name on domain open failureAndrew Tridgell2-2/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-14s4-smbtorture: try to fix spoolss winreg Form tests on bigendian machines.Günther Deschner1-15/+36
Guenther
2010-09-12s4:torture/rpc/samr.c - fix typos in outputsMatthias Dieter Wallnöfer1-7/+7
2010-09-11s4:ldb_register_samba_handlers - fix up and convert result codes to LDB/LDAP ↵Matthias Dieter Wallnöfer2-6/+6
results
2010-09-10s4/torture: use time_mono for timeoutsBjörn Jacke1-2/+2
2010-09-10s4/torture: use time_mono for delta timeBjörn Jacke1-2/+2
2010-09-10s4:torture/locktest.c - add a cast in order to quiet a warning on Solaris ccMatthias Dieter Wallnöfer1-1/+1
2010-09-10s4:torture/ntp/ntp_signd.c - add more "char *" casts in order to suppress ↵Matthias Dieter Wallnöfer1-2/+2
Solaris warnings
2010-09-10s4:torture/rpc/winreg.c - hopefully this attempt fixes Solaris "cc" on the ↵Matthias Dieter Wallnöfer1-27/+10
buildfarm The Solaris "cc" incompatiblity on this codepart seems to be harder to fix than it looks like.
2010-09-10s4/fsmo: Added python tests for schema master transfer opAnatoliy Atanasov1-0/+152
2010-09-10s4/torture: use time_mono for deltas in lock testBjörn Jacke1-22/+22
2010-09-10s4-smbtorture: add spoolss_OpenPrinter with unc and printername in ↵Günther Deschner1-4/+18
RPC-SPOOLSS-PRINTSERVER. Guenther
2010-09-09s4:torture/rpc/winreg.c - restore Solaris cc compatibilityMatthias Dieter Wallnöfer1-71/+72
"static const struct"s need to be global in order to work with Solaris cc.
2010-09-09s4-drs-test: Add 'reset' and 'replace' tests for drsuapi_DsReplicaUpdateRefsKamen Mazdrashki1-4/+28
At first I got the impression we are not handling those cases, but after those tests surprisingly passed I saw that we have correct behavior implemented in a helper function. So I decided to commit those tests in case someone change the strange-looking check for DRSUAPI_DRS_ADD_REF flag in a function that handles delete operation :)
2010-09-08s4-smbtorture: add torture ndr nbt testsuite.Günther Deschner4-2/+73
Guenther
2010-09-05s4-test: refactor API-DELETEUSER test a little to:Kamen Mazdrashki1-29/+23
- fail torture_context in case libnet_DeleteUser() has failed - make use of torture_assert_* macros to track down where failur occured - use only one memory context internally
2010-09-05dsgetinfo: Set modulesdir when using ldb without ldb_wrapJelmer Vernooij1-0/+3
(Is there a particular reason we're not using ldb_wrap here?)
2010-09-04torture-lsa: cope with STATUS_SOME_UNMAPPED errorsAndrew Tridgell1-15/+50
Now that we support SePrintOperatorPrivilege, an interaction between the spoolss tests and the privileges tests cause a failure. The failure happens like this: - the spoolss.access test creates and then deletes an account with SePrintOperatorPrivilege privilege - this leaves the privileges database with an entry for a deleted account that is still visible via LSA calls. This is correct behaviour (verified against w2k8r2) - the lsa.privileges test then enumerates all accounts that have at least one privilege, and gets the SID for the deleted account - it then called LookupNames and LookupSids on this deleted account, and gets an error. The fix is to not call LookupSids and LookupNames on sids which have SID_NAME_UNKNOWN as the type Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-01s4-test-dssync: Print the reason for skipping FetchNT4Data testKamen Mazdrashki1-3/+6
2010-08-31s4: use GetTimeOfDay macro instead of gettimeofdayBjörn Jacke1-1/+1
2010-08-31s4/torture: use monotonic clock for time deltas in denytestBjörn Jacke1-15/+15
2010-08-30s4-drs-test: Skip a check that may possibly failKamen Mazdrashki1-1/+7
This check may fail due to automatic replication between DCs during the test execution. Ideally we should block automatic replications (somehow) during this test. But until then, we need just to skip this check, it is not *that* important anyway
2010-08-30s4-drs-test: Use dns hostnames to run 'net drs replicate' commandKamen Mazdrashki1-5/+5
2010-08-27s4:torture/rpc/winreg.c - set "error_message" to NULL in "test_HKLM_wellknown"Matthias Dieter Wallnöfer1-9/+18
Hopefully this fixes the build on Solaris 8.
2010-08-27s4:torture/spoolss_access.c - fix discarded const warningMatthias Dieter Wallnöfer1-2/+3
"discard_const_p" seems the most appropriate here.
2010-08-27s4:torture/raw/notify.c - freeable stuff shouldn't be "const"Matthias Dieter Wallnöfer1-1/+1
2010-08-25s4-smbtorture: Added a torture test for forest trustsSumit Bose4-2/+840
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-25s4-smbtorture: Make test_SetupCredentials3 publicSumit Bose2-1/+25
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-25s4-smbtorture: fill in trust_domain_passwords_check_in in NDR lsa test.Günther Deschner1-7/+35
Guenther
2010-08-25Fix RPC-LSA-TRUSTED-DOMAINS for changed IDLSumit Bose1-0/+10
2010-08-22Avoid use of Samba DTD, which requires net access.Jelmer Vernooij4-5/+4
2010-08-19s4-test: make better error message for ATTID checksKamen Mazdrashki1-4/+20
2010-08-19s4-test: Change attribute syntax and value for readabilityKamen Mazdrashki1-3/+3
When it comes to read logs and dumping data received Octet String syntax comes in handy
2010-08-19s4-test-dssync: remove unused variableKamen Mazdrashki1-1/+0
2010-08-17smbtorture: Make SAMBA3CASEINSENSITIVE report failures properly.James Peach1-4/+6
2010-08-17smbtorture: Ensure that the RPC setup returns correct status.James Peach1-4/+4
2010-08-16Revert "s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is ↵Günther Deschner1-9/+0
broken" This reverts commit 8ca8250443319e0f19f05aab2014118fd03eaa8a.
2010-08-15s4-drs-test: Make the two DRS test suite a top-level test suitesKamen Mazdrashki1-16/+21
so that test cases gets visible with "smbtorture --list"