summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2010-09-25torture: fixed a valgrind error in SMB2-CREATEAndrew Tridgell1-0/+6
the lock structure had uninitialised elements, so we sent a random length. This also adds a 1 byte write, so there is real data that is being truncated with the 2nd open
2010-09-24s4:torture/rpc/netlogon.c - remove the dependency on "samdb_server_site_name"Matthias Dieter Wallnöfer1-5/+54
Since this one relies on the right server loadparm context which we aren't able to provide over torture. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-22smbtorture: Report times.Jelmer Vernooij1-0/+2
2010-09-22s4:libcli:smb2 Rename pending_id to async_id and make 64-bitSteven Danneman1-0/+1
Match MS-SMB2 - 2.2.1.1 SMB2 Packet Header - ASYNC
2010-09-22s4-smbtorture: print out membership in RPC-SPOOLSS-ACCESS.Günther Deschner1-0/+7
Guenther
2010-09-22s4-drs-test: Relax 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-09-21torture: Remove active_testname variable.Jelmer Vernooij1-3/+0
2010-09-21torture: Fix running individual tests.Jelmer Vernooij1-2/+2
2010-09-20s4-smbtorture: print SVCCTL security descriptor in ↵Günther Deschner1-0/+17
test_QueryServiceObjectSecurity(). Guenther
2010-09-21s4-test: yet another test for ATTID-ot-OID conversionKamen Mazdrashki1-2/+7
Test with a valid ATTID for prefixMap lookups, but supplied ATTID is with index not to be found in the test prefixMap
2010-09-20s4-smbtorture: add NetRemoteTOD libnetapi torture test.Günther Deschner4-2/+80
Guenther
2010-09-20s4-smbtorture: add test_SetServiceObjectSecurity() to RPC-SVCCTL.Günther Deschner1-1/+62
Guenther
2010-09-19s4/fsmo: Naming master support addedAnatoliy Atanasov1-0/+4
Test suite for fsmo is extended with a test case for naming master too.
2010-09-19s4-smbtorture: add LOCAL-NDR-NTLMSSP.Günther Deschner4-2/+122
Guenther
2010-09-17s4-test: Add unit test for dsdb_schema_info_cmp()Kamen Mazdrashki1-0/+81
2010-09-17s4-smbtorture: fix winreg querymultiplevalues NDR test warning.Günther Deschner1-2/+2
Guenther
2010-09-16s3/s4: merge msleep and smb_msleepBjörn Jacke14-95/+95
the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
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