summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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.
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