summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2011-02-28Use <tdb.h> to include tdb, so the system include file gets used when ↵Jelmer Vernooij2-2/+2
building against system tdb.
2011-02-27s4/drs-test: Remove unused importsKamen Mazdrashki3-25/+0
2011-02-27s4/drs-test: remove netReplicateCmd test from 'deleted object' test caseKamen Mazdrashki1-10/+4
DCs synchronization is moved to the test case setUp method as there is no guarantee for the order of execution of tests in a test case - thus netReplicateCmd may be executed after ReplicateDeleteOjbect test
2011-02-27s4/drs-tests: Disable replication during 'deleted object' testKamen Mazdrashki1-17/+10
This allows us to remove the patch that prevents the test failure. Also pass 'forced' flag to samba-tool drs replicate command, otherwise DsReplicaSync will fail with 'replication not permitted' error
2011-02-27s4/drs-tests: Move enable/disable replication methods to DrsBase class so we ↵Kamen Mazdrashki2-12/+11
can re-use them
2011-02-24build: moved librpc/rpc/*.c into a rpccommon libraryAndrew Tridgell1-0/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104
2011-02-22s4:torture/rpc/netlogon.c - fix two build warnings by castsMatthias Dieter Wallnöfer1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 22 11:45:49 CET 2011 on sn-devel-104
2011-02-22s4-waf: rename smbpasswd library to smbpasswdparserAndrew Tridgell1-1/+1
this removes a conflict with the s3 smbpasswd binary
2011-02-21s4-smbtorture: use torture_comment() instead of printf in raw.write test.Günther Deschner1-66/+67
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 21 15:26:38 CET 2011 on sn-devel-104
2011-02-21s4-smbtorture: fix some indent in raw.write test.Günther Deschner1-4/+4
Guenther
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