summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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"
2010-08-14s4:torture/rpc/samr.c - fix a wrong torture error messageMatthias Dieter Wallnöfer1-1/+1
2010-08-11smbtorture: Don't crash RAW-QFILEINFO if there's no alternate name.James Peach1-0/+5
2010-08-11smbtorture: Make BASE-OPENATTR report a failure if it fails.James Peach1-2/+4
2010-08-11s4-test: Implement DRS-RPC-msDSIntId test caseKamen Mazdrashki4-1/+647
2010-08-11s4-test: Move dsdb_schema loading into public functionKamen Mazdrashki2-60/+96
I will use this function for tests implementation later
2010-08-11s4-test: Move RPC-DSSYNC test in DRS-RPC test suiteKamen Mazdrashki4-3/+4
2010-08-11s4-test: Move dssync.c to torture/drs/rpcKamen Mazdrashki1-0/+0
2010-08-11s4-test: strip trailing white-spacesKamen Mazdrashki1-21/+21
2010-08-08s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is brokenStefan Metzmacher1-0/+9
See https://bugzilla.samba.org/show_bug.cgi?id=7486. metze
2010-08-05s3-torture: Improve the winreg deletekey torture comments.Andreas Schneider1-5/+6
2010-08-05s3-torture: Correctly cleanup the winreg volatile key test.Andreas Schneider1-8/+13
Günther please check!
2010-08-05s4-torture: Fixed the winreg EnumValue test against Windows.Andreas Schneider1-8/+34
Günther please check!
2010-08-02s4:torture/libnet: avoid dereferencing dcerpc_binding_handle internalsStefan Metzmacher1-4/+5
metze
2010-08-02s4-smbtorture: remove another old and now invalid s3 special case during ↵Günther Deschner1-7/+0
spoolss testing. Guenther
2010-08-01s4:torture/rpc/winreg: fix "strict aliasing" compiler warningsStefan Metzmacher1-3/+3
metze
2010-08-01s4:torture/rpc/winreg: fix the build with non gcc compilers (e.g. on solaris)Stefan Metzmacher1-4/+3
metze
2010-07-31s4:torture/winreg.c - fix warnings of Solaris 10 cc through the appropriate ↵Matthias Dieter Wallnöfer1-4/+4
casts
2010-07-31s4:torture/winreg.c - remove unreachable codeMatthias Dieter Wallnöfer1-2/+0
2010-07-31s4:torture/winreg.c - add a FIXME comment on a codepart which isn't standard ↵Matthias Dieter Wallnöfer1-0/+1
C-compatible It seems to be GCC specific since it doesn't compile on Solaris 10 cc: http://build.samba.org/?function=View+Build;host=sunX;tree=samba_4_0_waf;compiler=cc
2010-07-30s4-smbtorture: remove ifdefed symlink test, this is already skipped internallyGünther Deschner1-2/+0
in the s3 case. Guenther
2010-07-30Revert "s4-torture: Disable setting REG_BINARY printer data with size 0."Günther Deschner1-4/+0
This reverts commit 104c419345a42a9a02ae25df482f449dc41a6380.
2010-07-29s4-test: Expand DSSYNC test to be executed against all partitionsKamen Mazdrashki1-17/+49
It is still possible to supply specific partition to test with on command line using --option="dssync:partition={PARTITION_DN}"
2010-07-29s4-test-dssync: Issue warning in case we have diffrences in link attributesKamen Mazdrashki1-4/+33
In case differences in messages are: 1. Attributes with different values, i.e. 'replace' 2. Those attributes are back-link attributes then we just warn about those differences. It turns out windows doesn't send all values for back-link attributes in replicated_object but in linked_attributes. I consider this as workaround for the problem. A better solution might be to merge linked_attribute values into replacted_objects before comparing those with LDB result (although this will work for Win2k8 and latter)
2010-07-29s4-test: Simplify test_GetInfo() - we have what we need through LDB connectionKamen Mazdrashki1-79/+12
we have already opened. Added 'config_dn' and 'schema_dn' members which are to be used later for extending the test_FetchData() to be executed against every partition in case partition is not specified explicitly. DsSyncText.site_name was removed also as it is not used anymore
2010-07-27s4-torture: Enable tests with keynames including a slash.Andreas Schneider1-12/+2
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27Revert "s4-smbtorture: skip driverName and printerName DsSpooler tests for now."Andreas Schneider1-2/+2
This reverts commit 23eb2888d94b34822e4c49b1d62f4bd3fac43fcf. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s4-torture: Disable setting REG_BINARY printer data with size 0.Andreas Schneider1-0/+4
Signed-off-by: Jim McDonough <jmcd@samba.org>