summaryrefslogtreecommitdiffstats
path: root/source4/torture
Commit message (Collapse)AuthorAgeFilesLines
* s4/drs-test: Add few comments in DrsDeleteObjectTestCase testKamen Mazdrashki2010-06-281-3/+10
| | | | Also remove unused code
* s4/drs-test: Fix whitespaces and permissions for delete_object.py testKamen Mazdrashki2010-06-261-5/+5
| | | | Sorry I've missed to do this before
* smbtorture: Fix loading of --load-list.Jelmer Vernooij2010-06-251-10/+12
|
* s4/drs-test: Tests Deleted objects replicationKamen Mazdrashki2010-06-251-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
* s4 torture: Warn on NOT_IMPLEMENTED in addition to NOT_SUPPORTED for ↵Aravind Srinivasan2010-06-241-3/+9
| | | | | | RAW-QFILEINFO Signed-off-by: Tim Prouty <tprouty@samba.org>
* s4-python: python is not always in /usr/binAndrew Tridgell2010-06-241-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>
* s4-smbtorture: test more valid key names in RPC-WINREG.Günther Deschner2010-06-231-0/+61
| | | | Guenther
* s4-smbtorture: more work on test values WINREG test.Günther Deschner2010-06-231-2/+10
| | | | Guenther
* s4-smbtorture: add test for different winreg SetValue value names.Günther Deschner2010-06-231-0/+51
| | | | Guenther
* s4-smbtorture: Fix test_SetPrinterDataEx_keys and test_SetPrinterDataEx_values.Günther Deschner2010-06-231-6/+6
| | | | | | We want to continue, not to skip here. Guenther
* s4-smbtorture: add "printerdata_values" test to RPC-SPOOLSS-PRINTER.Günther Deschner2010-06-221-0/+88
| | | | Guenther
* s4-smbtorture: also test keynames with '/' in it in SetPrinterDataEx keyname ↵Günther Deschner2010-06-221-1/+8
| | | | | | tests. Guenther
* s4-smbtorture: activate all keys in SetPrinterData keys test.Günther Deschner2010-06-221-7/+10
| | | | | | (just skip some of them still against s3). Guenther
* s4-smbtorture: split out a "printerdata_keys" test for RPC-SPOOLSS-PRINTER.Günther Deschner2010-06-221-53/+120
| | | | | | | This separates key and value tests for SetPrinterDataEx and GetPrinterDataEx (and also speeds up the whole testsuite). Guenther
* s4 torture: RAW-SFILEINFO display warning instead of error on unsupported ↵Aravind Srinivasan2010-06-211-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>
* smbtorture: Fix missing includes.James Peach2010-06-211-0/+1
|
* smbtorture: Fixx off-by-one command line parsing.James Peach2010-06-211-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.
* smbtorture: Add "target" command to interactive shell.James Peach2010-06-212-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.
* smbtorture: Enhance shell "help" command.James Peach2010-06-211-13/+23
| | | | | Sort the command list alphabetically. Let the help command print usage info for other commands.
* smbtorture: Add "auth" command to the shell.James Peach2010-06-211-0/+73
| | | | | Add a new "auth" command to set the cmdline credentials from withing the smbtorture shell.
* smbtorture: Refactor interactive shell into independent commands.James Peach2010-06-211-26/+154
| | | | | Refactor the smbtorture interactive shell into a set of independent command callbacks to make it easier to add more independent commands.
* smbtorture: Move interactive shell into a separate file.James Peach2010-06-215-61/+107
|
* smbtorture: Print global options for interactive "list" command.James Peach2010-06-211-1/+3
|
* smbtorture: Add history support to shell mode.James Peach2010-06-211-1/+8
|
* smbtorture: Add list command to smbtorture shell.James Peach2010-06-211-36/+94
|
* python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij2010-06-191-3/+1
| | | | setUp methods are called, fix formatting.
* s4:torture/ldap/basic.c - add more error code/messages testsMatthias Dieter Wallnöfer2010-06-191-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).
* s4:torture/rpc/netlogon.c - make sure that the address family is set in ↵Matthias Dieter Wallnöfer2010-06-181-18/+18
| | | | little endian in the "AddressToSitenames" tests
* s4:torture/rpc/netlogon.c - activate "AddressToSitenames" tests which do run ↵Matthias Dieter Wallnöfer2010-06-181-12/+16
| | | | against s4
* s4:torture/rpc/remote_pac: use dcerpc_netr_LogonSamLogon_r() instead of ↵Stefan Metzmacher2010-06-171-1/+2
| | | | | | dcerpc_netr_LogonSamLogon() metze
* s4-smbtorture: Remind myself we need to add a test for SMBsplretq in ↵Günther Deschner2010-06-161-0/+2
| | | | | | RAP-PRINTING. Guenther
* s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher2010-06-168-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>
* s4-smbtorture: only pull info when status code indicates success in ↵Günther Deschner2010-06-161-3/+5
| | | | | | smbcli_rap_netprintqgetinfo(). Guenther
* Revert "s4-smbtorture: only pull info when status code indicates success in ↵Günther Deschner2010-06-161-5/+3
| | | | | | smbcli_rap_netprintqgetinfo()." This reverts commit 1f1c04010a55e67d8dc2110276eed4cf2a8a0afa.
* s4-smbtorture: test smbcli_rap_netprintqgetinfo() with "" printqname.Günther Deschner2010-06-161-0/+8
| | | | Guenther
* s4-smbtorture: only pull info when status code indicates success in ↵Günther Deschner2010-06-161-3/+5
| | | | | | smbcli_rap_netprintqgetinfo(). Guenther
* s4 torture: RAW-SEARCH: break out some of the old search levelsAravind Srinivasan2010-06-153-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>
* s4 torture: RAW-SEARCH: Only test supported info levelsTim Prouty2010-06-151-9/+45
|
* s4:torture Rework NET-API-BECOMEDC test to use libnet_vampire callbacks.Andrew Bartlett2010-06-151-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>
* s4 torture: RAW-WRITE should check lockread_supportedZachary Loafman2010-06-141-0/+5
| | | | Signed-off-by: Tim Prouty <tprouty@samba.org>
* s4:torture - SAMR testsuite - now we do support "GetAliasMembership" as expectedMatthias Dieter Wallnöfer2010-06-121-4/+0
|
* s4/test-libnet: Re-align code a bit - more readable this way IMOKamen Mazdrashki2010-06-113-24/+28
|
* s4/test-libnet: Refactor test_group_create() a little to:Kamen Mazdrashki2010-06-111-11/+22
| | | | | - Close unused policy handle for created group - re-align code - it is more readable this way IMHO
* s4/test-libnet: Refactor test_user_create() little bit to:Kamen Mazdrashki2010-06-111-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
* s4/test-libnet: add few comments for utility functionsKamen Mazdrashki2010-06-111-3/+11
|
* s4/test-libnet: Move LSA close handle function to a common locationKamen Mazdrashki2010-06-113-40/+26
|
* s4/test-libnet: remove unused codeKamen Mazdrashki2010-06-111-25/+0
| | | | | Pre-connecting SAMR and LSA pipes is implemented in test_libnet_context_init() function
* s4/test-libnet: Fix compile-time warningKamen Mazdrashki2010-06-111-1/+1
|
* s4-smbtorture: rework internals of RPC-SPOOLSS-ACCESS testsuite.Günther Deschner2010-06-111-71/+181
| | | | Guenther
* s4/test: use test_libnet_context_init() function to create libnet_contextKamen Mazdrashki2010-06-112-24/+23
| | | | | This way we ensure that LIBNET call will be issued against the DC we are testing against