summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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.
2010-06-19s4:torture/ldap/basic.c - add more error code/messages testsMatthias Dieter Wallnöfer1-30/+264
And now we do match at least the LDAP error code (the WERROR one does still differ from Windows - we will see how to change that).
2010-06-18s4:torture/rpc/netlogon.c - make sure that the address family is set in ↵Matthias Dieter Wallnöfer1-18/+18
little endian in the "AddressToSitenames" tests
2010-06-18s4:torture/rpc/netlogon.c - activate "AddressToSitenames" tests which do run ↵Matthias Dieter Wallnöfer1-12/+16
against s4
2010-06-17s4:torture/rpc/remote_pac: use dcerpc_netr_LogonSamLogon_r() instead of ↵Stefan Metzmacher1-1/+2
dcerpc_netr_LogonSamLogon() metze
2010-06-16s4-smbtorture: Remind myself we need to add a test for SMBsplretq in ↵Günther Deschner1-0/+2
RAP-PRINTING. Guenther
2010-06-16s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher8-8/+6
This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org>
2010-06-16s4-smbtorture: only pull info when status code indicates success in ↵Günther Deschner1-3/+5
smbcli_rap_netprintqgetinfo(). Guenther
2010-06-16Revert "s4-smbtorture: only pull info when status code indicates success in ↵Günther Deschner1-5/+3
smbcli_rap_netprintqgetinfo()." This reverts commit 1f1c04010a55e67d8dc2110276eed4cf2a8a0afa.
2010-06-16s4-smbtorture: test smbcli_rap_netprintqgetinfo() with "" printqname.Günther Deschner1-0/+8
Guenther
2010-06-16s4-smbtorture: only pull info when status code indicates success in ↵Günther Deschner1-3/+5
smbcli_rap_netprintqgetinfo(). Guenther
2010-06-15s4 torture: RAW-SEARCH: break out some of the old search levelsAravind Srinivasan3-2/+33
* Added two new parameters: raw_search_search and raw_ea_size which can be enabled/disabled based on whether the server supports RAW_SEARCH_SEARCH and/or RAW_SEARCH_EA_SIZE levels * Skip unsupported levels from the server and give a warning rather than failing. Signed-off-by: Tim Prouty <tprouty@samba.org>
2010-06-15s4 torture: RAW-SEARCH: Only test supported info levelsTim Prouty1-9/+45
2010-06-15s4:torture Rework NET-API-BECOMEDC test to use libnet_vampire callbacks.Andrew Bartlett1-582/+59
The libnet_vampire code was derived from this code in the first place, but has continued to evolve, while this code has often bitrotted. This avoids the needless duplication of the callbacks, while keeping the toture wrapper. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-14s4 torture: RAW-WRITE should check lockread_supportedZachary Loafman1-0/+5
Signed-off-by: Tim Prouty <tprouty@samba.org>
2010-06-12s4:torture - SAMR testsuite - now we do support "GetAliasMembership" as expectedMatthias Dieter Wallnöfer1-4/+0
2010-06-11s4/test-libnet: Re-align code a bit - more readable this way IMOKamen Mazdrashki3-24/+28
2010-06-11s4/test-libnet: Refactor test_group_create() a little to:Kamen Mazdrashki1-11/+22
- Close unused policy handle for created group - re-align code - it is more readable this way IMHO
2010-06-11s4/test-libnet: Refactor test_user_create() little bit to:Kamen Mazdrashki1-11/+7
- fix a flaw that user RID is not returned in case user is recreated - close unused policy handle to created user - do not take into account the result from test_samr_close_handle - we don't case
2010-06-11s4/test-libnet: add few comments for utility functionsKamen Mazdrashki1-3/+11
2010-06-11s4/test-libnet: Move LSA close handle function to a common locationKamen Mazdrashki3-40/+26
2010-06-11s4/test-libnet: remove unused codeKamen Mazdrashki1-25/+0
Pre-connecting SAMR and LSA pipes is implemented in test_libnet_context_init() function
2010-06-11s4/test-libnet: Fix compile-time warningKamen Mazdrashki1-1/+1
2010-06-11s4-smbtorture: rework internals of RPC-SPOOLSS-ACCESS testsuite.Günther Deschner1-71/+181
Guenther
2010-06-11s4/test: use test_libnet_context_init() function to create libnet_contextKamen Mazdrashki2-24/+23
This way we ensure that LIBNET call will be issued against the DC we are testing against