summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2011-02-21s4-smbtorture: fix trailing whitespace in raw.write test.Günther Deschner1-22/+22
Guenther
2011-02-21s4:smbtorture do not leave output directory aroundChristian Ambach1-13/+10
calling smbtorture with no or invalid arguments left the temporary output directory around this patches removes the dead-end exit from usage and makes the logic go on until the final cleanup state is reached output directory will still be left around when test times out or testcases itself force an exit also make sure that the directory itself is deleted, not just the objects in it Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Feb 21 11:35:30 CET 2011 on sn-devel-104
2011-02-20s4/drs-tests:Blackbox test to verify DsReplicaSync handlingKamen Mazdrashki1-0/+91
DsReplicaSync is indirectly called using 'samba-tool drs options' command to enable/disable replication and 'samba-tool drs replicate' command to trigger inbound replication cycle Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun Feb 20 23:03:03 CET 2011 on sn-devel-104
2011-02-20s4/drs-tests: Allow _net_drs_replicate to force replication and return ↵Kamen Mazdrashki1-2/+4
output from command execution
2011-02-20s4/drs-tests: Split samba-tool command line generation into separate methodKamen Mazdrashki1-7/+12
so we can use to exec samba-tool passing different commands
2011-02-20s4/drs-tests: Inherit DrsReplSchemaTestCase from DrsBaseTestCaseKamen Mazdrashki1-45/+2
and remove duplicated functionality
2011-02-20s4/drs-tests: Inherit DrsFsmoTestCase from DrsBaseTestCaseKamen Mazdrashki1-35/+2
and remove duplicated functionality
2011-02-20s4/drs-tests: Inherit DrsDeleteObjectTestCase from DrsBaseTestCaseKamen Mazdrashki1-44/+2
and remove duplicated functionality
2011-02-20s4/drs-tests: Add a base class to hold common functionality for all DRS ↵Kamen Mazdrashki1-0/+104
python tests
2011-02-18s4-auth: rename 'auth' subsystem to 'auth4'Andrew Tridgell1-1/+1
this prevents conflicts with the s3 auth modules. The auth modules in samba3 may appear in production smb.conf files, so it is preferable to rename the s4 modules for minimal disruption. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-17s4-smbtorture: add more complex spoolss_EnumPrinterDataEx test.Günther Deschner1-0/+721
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 17 16:46:28 CET 2011 on sn-devel-104
2011-02-16s4-smbtorture: Fix for RPC-LSA-FOREST-TRUST.Sumit Bose1-2/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s4-smbtorture: Two fixes for forest trust test against samba.Sumit Bose1-2/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-15s4: Fix a typoVolker Lendecke1-1/+1
2011-02-15s4:torture/rpc/samr.c - fix up the "test_GroupList" suite regarding ↵Matthias Dieter Wallnöfer1-2/+16
QueryDisplayInfo This is needed to comply with the previous patch. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 15 17:40:22 CET 2011 on sn-devel-104
2011-02-10ldb: use #include <ldb.h> for ldbAndrew Tridgell6-9/+9
thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-09s4-auth Rework auth subsystem to remove struct auth_serversupplied_infoAndrew Bartlett2-66/+72
This changes auth_serversupplied_info into the IDL-defined struct auth_user_info_dc. This then in turn contains a struct auth_user_info, which is the only part of the structure that is mainted into the struct session_info. The idea here is to avoid keeping the incomplete results of the authentication (such as session keys, lists of SID memberships etc) in a namespace where it may be confused for the finalised results. Andrew Barltett
2011-02-08s4-smbtorture: add torture test to check proper add and delete driver ↵Günther Deschner1-0/+77
operations. Thanks to Bjoern Baumbach <bb@sernet.de> for pushing us to test and verify this. Guenther
2011-02-08s4-smbtorture: also run the driver timestamp spoolss test against samba.Günther Deschner1-4/+0
Guenther
2011-02-08pam: share pam errors in a common location.Günther Deschner1-1/+1
Guenther
2011-02-08libndr: share some uuid helpers.Günther Deschner1-7/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 8 09:52:56 CET 2011 on sn-devel-104
2011-02-05s4 torture: add new rpc torture tests for backup key remote protocolMatthieu Patou3-2/+1041
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Feb 5 13:01:42 CET 2011 on sn-devel-104
2011-02-02s4:torture/rpc/netlogon: add invalid level tests for netr_LogonControl2Stefan Metzmacher1-0/+24
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Feb 2 12:43:32 CET 2011 on sn-devel-104
2011-02-02s4:torture/rpc/netlogon: improve comments in test_LogonControl2()Stefan Metzmacher1-12/+12
metze
2011-02-02s4:torture/rpc/netlogon: test invalid netr_LogonControl() levelStefan Metzmacher1-0/+7
metze
2011-02-02s4:torture/rpc/netlogon: test invalid LogonSamLogon levelsStefan Metzmacher1-0/+90
This proves that the invalid parameter/info class checks need to be done before the credential chain checks. metze
2011-02-02s4:torture/rpc/netlogon: test validation levels 2 and 3Stefan Metzmacher1-1/+1
metze
2011-02-02s4-python Ensure we add the Samba python path first.Andrew Bartlett3-3/+3
This exact form of the construction is important, and we match on it in the installation scripts. Andrew Bartlett
2011-01-31smbtorture4 test for bug #7928 - Samba problems with kernel oplocks option ↵Pavel Shilovsky1-0/+95
set to "no"
2011-01-31s4-smbtorture: add samr_changepassworduser3 ndr torture tests.Günther Deschner1-2/+109
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 31 16:07:14 CET 2011 on sn-devel-104
2011-01-31s4-smbtorture: make it more obvious this are w2k dumps in netlogon ndr test.Günther Deschner1-8/+8
Guenther
2011-01-28s4-smbtorture: add (disabled) ndr torture test to check for a w2k samlogon ↵Günther Deschner1-0/+26
reply we can't currently parse. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 28 16:23:30 CET 2011 on sn-devel-104
2011-01-28s4-smbtorture: add NDR tests for netr_LogonSamLogon.Günther Deschner1-1/+65
Guenther
2011-01-27s4-torture: Reorder the epmapper tests.Andreas Schneider1-8/+9
It works like a stack! Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Jan 27 15:28:05 CET 2011 on sn-devel-104
2011-01-27s4-torture: Added a full epm_Map test.Andreas Schneider1-95/+231
2011-01-27s4-torture: Added a test_Insert for epmapper.Andreas Schneider1-0/+46
2011-01-27s4-torture: Use binding handle in epm_Delete test.Andreas Schneider1-3/+18
2011-01-27s4-torture: Comment out the test_InqObject.Andreas Schneider1-0/+6
2011-01-27s4-torture: Added a clean test_Map_simple.Andreas Schneider1-17/+77
2011-01-27s4-torture: Added a clean test_Lookup_terminate_search.Andreas Schneider1-0/+59
2011-01-27s4-torture: Added a clean test_Lookup_simple.Andreas Schneider1-34/+48
2011-01-27s4-torture: Added test_LookupHandleFree.Andreas Schneider1-0/+37
2011-01-27s4-torture: Start with a clean epm_Insert_noreplace test.Andreas Schneider1-29/+48
2011-01-25s4-test/delete_object: Remove global ldb connectionsKamen Mazdrashki1-26/+7
Make it more xUnit compliant Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Jan 25 21:30:19 CET 2011 on sn-devel-104
2011-01-21s4-smbtorture: make sure there is always driverextra data in spoolss devmode ↵Günther Deschner1-2/+10
size tests. Guenther
2011-01-21s4-smbtorture: add tests for the size member of spoolss devicemodes.Günther Deschner1-1/+5
Guenther
2011-01-21s4-smbtorture: prepare devicemode test for expected result tests.Günther Deschner1-9/+15
Guenther
2011-01-21s4-smbtorture: add some paranoia checks for 0 sized devmodes.Günther Deschner1-0/+15
Guenther
2011-01-20s4-auth Remove special case for account_sid from auth_serversupplied_infoAndrew Bartlett2-24/+21
This makes everything reference a server_info->sids list, which is now a struct dom_sid *, not a struct dom_sid **. This is in keeping with the other sid lists in the security_token etc. In the process, I also tidy up the talloc tree (move more structures under their logical parents) and check for some possible overflows in situations with a pathological number of sids. Andrew Bartlett
2011-01-20lib/util: add tests for anonymous_shared_allocate/free()Stefan Metzmacher2-1/+17
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 20 06:25:03 CET 2011 on sn-devel-104