summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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>
2010-06-24s4-python: python is not always in /usr/binAndrew Tridgell1-1/+1
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-23s4-smbtorture: test more valid key names in RPC-WINREG.Günther Deschner1-0/+61
Guenther
2010-06-23s4-smbtorture: more work on test values WINREG test.Günther Deschner1-2/+10
Guenther
2010-06-23s4-smbtorture: add test for different winreg SetValue value names.Günther Deschner1-0/+51
Guenther
2010-06-23s4-smbtorture: Fix test_SetPrinterDataEx_keys and test_SetPrinterDataEx_values.Günther Deschner1-6/+6
We want to continue, not to skip here. Guenther
2010-06-22s4-smbtorture: add "printerdata_values" test to RPC-SPOOLSS-PRINTER.Günther Deschner1-0/+88
Guenther
2010-06-22s4-smbtorture: also test keynames with '/' in it in SetPrinterDataEx keyname ↵Günther Deschner1-1/+8
tests. Guenther
2010-06-22s4-smbtorture: activate all keys in SetPrinterData keys test.Günther Deschner1-7/+10
(just skip some of them still against s3). Guenther
2010-06-22s4-smbtorture: split out a "printerdata_keys" test for RPC-SPOOLSS-PRINTER.Günther Deschner1-53/+120
This separates key and value tests for SetPrinterDataEx and GetPrinterDataEx (and also speeds up the whole testsuite). Guenther
2010-06-21s4 torture: RAW-SFILEINFO display warning instead of error on unsupported ↵Aravind Srinivasan1-4/+24
info level Also add a test to make sure setting the directory attribute is disallowed. Signed-off-by: Tim Prouty <tprouty@samba.org>
2010-06-21smbtorture: Fix missing includes.James Peach1-0/+1
2010-06-21smbtorture: Fixx off-by-one command line parsing.James Peach1-17/+17
If we are not in shell mode we require both the target and test name arguments. Make sure we process these from the correct index.
2010-06-21smbtorture: Add "target" command to interactive shell.James Peach2-16/+51
Add a "target" command to set the target server to test. Refactor the command line argument processing a little so that you can run --shell without any additional arguments.
2010-06-21smbtorture: Enhance shell "help" command.James Peach1-13/+23
Sort the command list alphabetically. Let the help command print usage info for other commands.
2010-06-21smbtorture: Add "auth" command to the shell.James Peach1-0/+73
Add a new "auth" command to set the cmdline credentials from withing the smbtorture shell.
2010-06-21smbtorture: Refactor interactive shell into independent commands.James Peach1-26/+154
Refactor the smbtorture interactive shell into a set of independent command callbacks to make it easier to add more independent commands.
2010-06-21smbtorture: Move interactive shell into a separate file.James Peach5-61/+107
2010-06-21smbtorture: Print global options for interactive "list" command.James Peach1-1/+3
2010-06-21smbtorture: Add history support to shell mode.James Peach1-1/+8
2010-06-21smbtorture: Add list command to smbtorture shell.James Peach1-36/+94
2010-06-19python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij1-3/+1
setUp methods are called, fix formatting.