summaryrefslogtreecommitdiffstats
path: root/source4/torture
Commit message (Collapse)AuthorAgeFilesLines
* dsgetinfo: Set modulesdir when using ldb without ldb_wrapJelmer Vernooij2010-09-051-0/+3
| | | | (Is there a particular reason we're not using ldb_wrap here?)
* torture-lsa: cope with STATUS_SOME_UNMAPPED errorsAndrew Tridgell2010-09-041-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>
* s4-test-dssync: Print the reason for skipping FetchNT4Data testKamen Mazdrashki2010-09-011-3/+6
|
* s4: use GetTimeOfDay macro instead of gettimeofdayBjörn Jacke2010-08-311-1/+1
|
* s4/torture: use monotonic clock for time deltas in denytestBjörn Jacke2010-08-311-15/+15
|
* s4-drs-test: Skip a check that may possibly failKamen Mazdrashki2010-08-301-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
* s4-drs-test: Use dns hostnames to run 'net drs replicate' commandKamen Mazdrashki2010-08-301-5/+5
|
* s4:torture/rpc/winreg.c - set "error_message" to NULL in "test_HKLM_wellknown"Matthias Dieter Wallnöfer2010-08-271-9/+18
| | | | Hopefully this fixes the build on Solaris 8.
* s4:torture/spoolss_access.c - fix discarded const warningMatthias Dieter Wallnöfer2010-08-271-2/+3
| | | | "discard_const_p" seems the most appropriate here.
* s4:torture/raw/notify.c - freeable stuff shouldn't be "const"Matthias Dieter Wallnöfer2010-08-271-1/+1
|
* s4-smbtorture: Added a torture test for forest trustsSumit Bose2010-08-254-2/+840
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s4-smbtorture: Make test_SetupCredentials3 publicSumit Bose2010-08-252-1/+25
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s4-smbtorture: fill in trust_domain_passwords_check_in in NDR lsa test.Günther Deschner2010-08-251-7/+35
| | | | Guenther
* Fix RPC-LSA-TRUSTED-DOMAINS for changed IDLSumit Bose2010-08-251-0/+10
|
* Avoid use of Samba DTD, which requires net access.Jelmer Vernooij2010-08-224-5/+4
|
* s4-test: make better error message for ATTID checksKamen Mazdrashki2010-08-191-4/+20
|
* s4-test: Change attribute syntax and value for readabilityKamen Mazdrashki2010-08-191-3/+3
| | | | | When it comes to read logs and dumping data received Octet String syntax comes in handy
* s4-test-dssync: remove unused variableKamen Mazdrashki2010-08-191-1/+0
|
* smbtorture: Make SAMBA3CASEINSENSITIVE report failures properly.James Peach2010-08-171-4/+6
|
* smbtorture: Ensure that the RPC setup returns correct status.James Peach2010-08-171-4/+4
|
* Revert "s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is ↵Günther Deschner2010-08-161-9/+0
| | | | | | broken" This reverts commit 8ca8250443319e0f19f05aab2014118fd03eaa8a.
* s4-drs-test: Make the two DRS test suite a top-level test suitesKamen Mazdrashki2010-08-151-16/+21
| | | | so that test cases gets visible with "smbtorture --list"
* s4:torture/rpc/samr.c - fix a wrong torture error messageMatthias Dieter Wallnöfer2010-08-141-1/+1
|
* smbtorture: Don't crash RAW-QFILEINFO if there's no alternate name.James Peach2010-08-111-0/+5
|
* smbtorture: Make BASE-OPENATTR report a failure if it fails.James Peach2010-08-111-2/+4
|
* s4-test: Implement DRS-RPC-msDSIntId test caseKamen Mazdrashki2010-08-114-1/+647
|
* s4-test: Move dsdb_schema loading into public functionKamen Mazdrashki2010-08-112-60/+96
| | | | I will use this function for tests implementation later
* s4-test: Move RPC-DSSYNC test in DRS-RPC test suiteKamen Mazdrashki2010-08-114-3/+4
|
* s4-test: Move dssync.c to torture/drs/rpcKamen Mazdrashki2010-08-111-0/+0
|
* s4-test: strip trailing white-spacesKamen Mazdrashki2010-08-111-21/+21
|
* s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is brokenStefan Metzmacher2010-08-081-0/+9
| | | | | | See https://bugzilla.samba.org/show_bug.cgi?id=7486. metze
* s3-torture: Improve the winreg deletekey torture comments.Andreas Schneider2010-08-051-5/+6
|
* s3-torture: Correctly cleanup the winreg volatile key test.Andreas Schneider2010-08-051-8/+13
| | | | Günther please check!
* s4-torture: Fixed the winreg EnumValue test against Windows.Andreas Schneider2010-08-051-8/+34
| | | | Günther please check!
* s4:torture/libnet: avoid dereferencing dcerpc_binding_handle internalsStefan Metzmacher2010-08-021-4/+5
| | | | metze
* s4-smbtorture: remove another old and now invalid s3 special case during ↵Günther Deschner2010-08-021-7/+0
| | | | | | spoolss testing. Guenther
* s4:torture/rpc/winreg: fix "strict aliasing" compiler warningsStefan Metzmacher2010-08-011-3/+3
| | | | metze
* s4:torture/rpc/winreg: fix the build with non gcc compilers (e.g. on solaris)Stefan Metzmacher2010-08-011-4/+3
| | | | metze
* s4:torture/winreg.c - fix warnings of Solaris 10 cc through the appropriate ↵Matthias Dieter Wallnöfer2010-07-311-4/+4
| | | | casts
* s4:torture/winreg.c - remove unreachable codeMatthias Dieter Wallnöfer2010-07-311-2/+0
|
* s4:torture/winreg.c - add a FIXME comment on a codepart which isn't standard ↵Matthias Dieter Wallnöfer2010-07-311-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
* s4-smbtorture: remove ifdefed symlink test, this is already skipped internallyGünther Deschner2010-07-301-2/+0
| | | | | | in the s3 case. Guenther
* Revert "s4-torture: Disable setting REG_BINARY printer data with size 0."Günther Deschner2010-07-301-4/+0
| | | | This reverts commit 104c419345a42a9a02ae25df482f449dc41a6380.
* s4-test: Expand DSSYNC test to be executed against all partitionsKamen Mazdrashki2010-07-291-17/+49
| | | | | | It is still possible to supply specific partition to test with on command line using --option="dssync:partition={PARTITION_DN}"
* s4-test-dssync: Issue warning in case we have diffrences in link attributesKamen Mazdrashki2010-07-291-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)
* s4-test: Simplify test_GetInfo() - we have what we need through LDB connectionKamen Mazdrashki2010-07-291-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
* s4-torture: Enable tests with keynames including a slash.Andreas Schneider2010-07-271-12/+2
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* Revert "s4-smbtorture: skip driverName and printerName DsSpooler tests for now."Andreas Schneider2010-07-271-2/+2
| | | | | | This reverts commit 23eb2888d94b34822e4c49b1d62f4bd3fac43fcf. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s4-torture: Disable setting REG_BINARY printer data with size 0.Andreas Schneider2010-07-271-0/+4
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s4-test: Use ldb_msg_normalize() in torture/rpc/dssync.c testKamen Mazdrashki2010-07-191-2/+4
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>