summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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>
2010-07-19s4-test: Use ldb_msg_normalize() in torture/rpc/dssync.c testKamen Mazdrashki1-2/+4
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-test: Use ldb_msg_difference() in torture/rpc/dssync.c testKamen Mazdrashki1-3/+6
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16s4-smbtorture: run all testcases with bigendian push as well in RPC-BIND.Günther Deschner1-0/+3
Guenther
2010-07-16s4-smbtorture: rearrange testlist in RPC-BIND.Günther Deschner1-5/+23
Guenther
2010-07-16s4-smbtorture: make sure to wipe out dcerpc auth flags before RPC-BIND starts.Günther Deschner1-0/+1
Guenther
2010-07-16smbtorture shell: Allow any config option to be set.James Peach1-5/+6
Not sure what I was thinking by restricting the shell to "torture:" parametric options. It's really extemely useful to be able to set arbitrary options.
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell73-487/+487
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-14s4-smbtorture: add very simple RPC-BIND testsuite.Günther Deschner4-2/+99
Guenther
2010-07-14s4-smbtorture: rename rpc/bind.c to rpc/multi_bind.c.Günther Deschner3-2/+2
Guenther
2010-07-08Revert "s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS."Günther Deschner1-6/+0
This reverts commit 3587bb63e21c3f033a17bb493dceb64b05fe85d6.
2010-07-06s4:libcli: Modify S4 client library to check for proper CN alignmentSteven Danneman1-1/+99
MS-CIFS 2.2.7.4.2 states that FILE_NOTIFY_INFORMATION structures in change notify replies must be aligned to 4-byte boundaries. This updates s4 client to check for this restriction and also adds a torture test which should tickle a server into giving unaligned structures if it doesn't follow the spec.
2010-07-05s4-smbtorture: add my (C) to rap torture lib.Günther Deschner1-0/+1
Guenther
2010-07-03s4:torture/rpc/samlogon.c - strip trailing whitespacesMatthias Dieter Wallnöfer1-199/+199
2010-07-03s4:torture/rpc/samlogon.c - provide a function which sets and afterwards ↵Matthias Dieter Wallnöfer1-0/+97
resets the minimum password age This is needed since we on s4 do now use the Windows Server standard of 1 day.
2010-07-02s4-smbtorture: enable extended SetValue test against Samba3.Günther Deschner1-3/+2
Guenther
2010-06-30s4-smbtorture: in extended setvalue winreg test, reduce max random buffer ↵Günther Deschner1-1/+1
length to 16 bytes. Guenther
2010-06-30s4-smbtorture: enable QueryMultipleValues{2} torture tests against samba3.Günther Deschner1-3/+2
Guenther
2010-06-30s4-smbtorture: add some more multiple_values_tests to RPC-WINREG.Günther Deschner1-1/+12
Guenther
2010-06-29s4-smbtorture: remove duplicate torture_assert_sid_equal macro.Günther Deschner1-10/+1
Guenther
2010-06-29s4-smbtorture: add more sophisticated tests for winreg_QueryMultipleValues{2}.Günther Deschner1-0/+221
Guenther
2010-06-29s4-smbtorture: remove some pointless mem_equal tests in LOCAL-NDR-WINREG ↵Günther Deschner1-3/+0
testsuite. Guenther
2010-06-29s4-smbtorture: handle NT_STATUS_NOT_IMPLEMENTED in GetForestTrustInformation ↵Günther Deschner1-2/+6
test. When skipping over it, we can at least verify the credential chain. Guenther
2010-06-29s4-smbtorture: use TEST_MACHINE_NAME in test_netr_GetForestTrustInformation().Günther Deschner1-1/+1
Guenther
2010-06-29s4-smbtorture: add netr_GetForestTrustInformation test to RPC-NETLOGON.Günther Deschner1-0/+39
Guenther
2010-06-29s4-smbtorture: add NDR torture test for winreg_QueryMultipleValues2.Günther Deschner1-0/+47
Guenther
2010-06-29s4-smbtorture: add RPC torture test for winreg_QueryMultipleValues2.Günther Deschner1-0/+41
Guenther
2010-06-29winreg: fix winreg_QueryMultipleValues() IDL and torture tests.Günther Deschner2-23/+23
Guenther
2010-06-29s4/ndr: Fix tuncating of constant to a 'long' typeKamen Mazdrashki1-2/+2
2010-06-28s4:torture/rpc/samr.c - test_SetPassword_LastSet - introduce the delays also ↵Matthias Dieter Wallnöfer1-1/+2
for s4
2010-06-28s4:torture - SAMR password tests - activate support for password sets on ↵Matthias Dieter Wallnöfer1-22/+17
level "18" and "21"
2010-06-28s4-smbtorture: fix typo.Günther Deschner1-1/+1
Not my day... Guenther
2010-06-28s4:torture/rpc/samr.c - test_SetPassword_LastSet - fix "pwdLastSet" testMatthias Dieter Wallnöfer1-33/+31
- Remove superflous checks (on level 18, 24, 26 we do always have "pwdLastSet" resets if "password_expired" > 0) - Fixed some bugs Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-28s4-smbtorture: add trustDomainPasswords blob test to LOCAL-NDR testsuite.Günther Deschner1-0/+64
Our parsing of this struct is incorrect atm. and apparently also causes the s4 server to crash. Thanks to Sumit Bose <sbose@redhat.com> for providing the auth data retrieved from a w2k3 domain.msc operation. Guenther
2010-06-28s4/drs-test: Add few comments in DrsDeleteObjectTestCase testKamen Mazdrashki1-3/+10
Also remove unused code
2010-06-26s4/drs-test: Fix whitespaces and permissions for delete_object.py testKamen Mazdrashki1-5/+5
Sorry I've missed to do this before
2010-06-25smbtorture: Fix loading of --load-list.Jelmer Vernooij1-10/+12
2010-06-25s4/drs-test: Tests Deleted objects replicationKamen Mazdrashki1-0/+222
Tests how deleted objects are replicated between two DCs. Currently the test exploits following vulnerabilities: - DsReplicaSync is not correctly implemented - a 'deleted object' is restored (kind of) in case DC1 replicates from DC2 before the 'deleted object' is replicated
2010-06-24s4 torture: Warn on NOT_IMPLEMENTED in addition to NOT_SUPPORTED for ↵Aravind Srinivasan1-3/+9
RAW-QFILEINFO Signed-off-by: Tim Prouty <tprouty@samba.org>