summaryrefslogtreecommitdiffstats
path: root/source4/torture
Commit message (Collapse)AuthorAgeFilesLines
* s4:torture:rpc: add a new test samba3.smb2-pipe-read-logoffMichael Adam2012-05-021-0/+85
| | | | | | | | | | | - open a pipe via smb2 - trigger a read which hangs since there is nothing to read - do a logoff - wait for the read to return and check the status (STATUS_PIPE_BROKEN) Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed May 2 19:57:45 CEST 2012 on sn-devel-104
* s4:torture:rpc: add a new test samba3.smb2.pipe-read-tdisMichael Adam2012-05-021-0/+85
| | | | | | | | - open a pipe via smb2 - trigger a read which hangs since there is nothing to read - do a tree disconnect - wait for the read to return and check the status (STATUS_PIPE_BROKEN)
* s4:torture:rpc: add a test samba3.smb2-pipe-read-closeMichael Adam2012-05-021-0/+87
| | | | | | | | * open a pipe via smb2 * trigger a read which hangs since there is nothing to read * close the pipe file handle * wait for the read to reaturn and check the status (NT_STATUS_PIPE_BROKEN)
* s4:torture:rpc: fix a comment typo in samba3.smb2-reauth2Michael Adam2012-05-021-1/+1
|
* s4:torture:rpc: remove an accidentially committed character (in a comment)Michael Adam2012-05-021-1/+1
|
* s4-libnet: Add mem_ctx to libnet_rpc_useradd calls (bug #8889)Andrew Bartlett2012-04-301-1/+1
|
* s4-torture: convert samba3misc tests to use torture_failure and torture_assertAndrew Bartlett2012-04-301-148/+105
| | | | | | | | | | | This helps us when these tests fail, as subunit-formatted failures can be declared as knownfail entries, and show up correctly in the make test output. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 30 08:34:52 CEST 2012 on sn-devel-104
* s4-torture: move samba3 tests to use torture helper functionsAndrew Bartlett2012-04-301-33/+4
|
* s4-torture: Move various samba3 tests to the torture_suite_add_1smb_test wrapperAndrew Bartlett2012-04-303-63/+14
|
* s4:torture: add a check for talloc success in rpc.samba3.randomauth2Michael Adam2012-04-281-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Apr 28 02:10:39 CEST 2012 on sn-devel-104
* s4:torture: add a check for talloc success in the rpc.samba3 suiteMichael Adam2012-04-281-0/+1
|
* s4:torture: add a rpc.samba3.smb2-reauth2 testMichael Adam2012-04-281-0/+136
| | | | like smb-reauth2, only for smb2
* s4:torture: add a rpc.samba3.smb2-reauth1 testMichael Adam2012-04-271-1/+161
|
* torture: change dfs tests now that we return a level 4 when level 4 is requestedMatthieu Patou2012-04-261-3/+2
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Apr 26 21:25:37 CEST 2012 on sn-devel-104
* s4-torture: never return false in the raw.composite torture testAndrew Bartlett2012-04-261-39/+7
| | | | | | | | | | | We must use torture_assert() macros to ensure that the failure is recorded in the subunit stream correctly, rather than being returned as an unknown 'error'. (We cannot handle error results as knownfail). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 26 04:00:16 CEST 2012 on sn-devel-104
* s4:torture: add a rpc.samba3.smb-reauth2 testMichael Adam2012-04-261-0/+145
| | | | | | | | | | | | | | | * Open session. * Reauth to anon. * Open lsa pipe. * Do lsa get username. * Rauth to original user. * Do lsa get username again. expected result: the getusername works and shows 'NT AUTHORITY\ANONYMOUS LOGON' in both calls. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Apr 26 02:27:12 CEST 2012 on sn-devel-104
* s4:torture: add a rpc.samba3.smb-reauth1 testMichael Adam2012-04-251-0/+165
| | | | | | | | | | | | | | | It does reauth while using an rpc pipe: * open session * open lsa pipe * do lsa getusername * reauth to anonymous * do lsa getusername again * reauth back to original user * do reauth again result: lsa getusername is always possible and always gives the first (authenticated user)
* s4:torture: add a raw.session suite with a raw.session.reauth testGregor Beck2012-04-253-1/+92
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4:torture:rpc:spoolss: also initialize driverName before checking it in ↵Michael Adam2012-04-251-0/+1
| | | | | | test_PrinterData_DsSpooler() Signed-off-by: Andreas Schneider <asn@samba.org>
* s4-torture: enable raw.composite test again, and convert to new style testAndrew Bartlett2012-04-252-108/+127
| | | | | | This test has been skipped for some time, but is an important test for parallel operation. Andrew Bartlett
* s4:libnet: pass an explicit mem_ctx to libnet_rpc_userinfo_send() (bug #8889)Stefan Metzmacher2012-04-241-2/+2
| | | | | | | | | This hopefully fixes the flakey autobuild. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 24 16:43:03 CEST 2012 on sn-devel-104
* Fix samba3.raw.samba3hide test - ensure we set up POSIX capabilitiesJeremy Allison2012-04-181-0/+37
| | | | | | | before doing POSIX calls like chmod. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 18 23:14:40 CEST 2012 on sn-devel-104
* s4-torture: Fix the raw.notify mask testVolker Lendecke2012-04-181-0/+4
| | | | | | | | | | When we do the notify triggers via a different client connection, adding the notify record becomes subject to a race. Add a dummy operation after the initial changenotify request was sent to make sure the notify record actually arrived. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 18 19:47:53 CEST 2012 on sn-devel-104
* s4-torture: Use 2 client connections for raw.notify.maskVolker Lendecke2012-04-181-19/+20
| | | | This makes the test more interesting in a cluster
* s4-torture: Use 2 client connections for raw.notify.treeVolker Lendecke2012-04-181-3/+9
| | | | This makes the test more interesting in a cluster
* s4-torture: Use 2 client connections for raw.notify.recursiveVolker Lendecke2012-04-181-6/+13
| | | | This makes the test more interesting in a cluster
* s4:torture:smb2: add a session.reauth2 test.Michael Adam2012-04-181-0/+93
| | | | | | | | | | | * open a file, * reauth anonymously * try to access file via handle * reauth as user * try to access file again Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Apr 18 16:53:35 CEST 2012 on sn-devel-104
* s4:torture:smb2: rename the file in the session-reauth1 test more systematicallyMichael Adam2012-04-181-1/+1
| | | | The original name seems to have come in via copy and paste.
* s4:torture:smb2: rename the session_reauth test to session_reauth1Michael Adam2012-04-181-2/+2
| | | | More tests reauth? will follow...
* s4-torture: notify all is empty nowVolker Lendecke2012-04-181-19/+0
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 18 15:16:13 CEST 2012 on sn-devel-104
* s4-torture: Separate out the notify alignment subtestVolker Lendecke2012-04-181-4/+9
|
* s4-torture: Separate out the notify basedir subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify overflow subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify tree subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify double subtestVolker Lendecke2012-04-181-2/+7
|
* s4-torture: Separate out the notify tcp_dis subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify ulogoff subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify exit subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify tdis subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify file subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify mask_change subtestVolker Lendecke2012-04-181-2/+9
|
* s4-torture: Separate out the notify recursive subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify mask subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify dir subtestVolker Lendecke2012-04-181-3/+9
|
* s4-torture: Separate out the notify tcon subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Make notify a suiteVolker Lendecke2012-04-182-4/+13
|
* s4-schema: rename dsdb_attribute_from_ldb to dsdb_set_attribute_from_ldb ↵Matthieu Patou2012-04-181-2/+2
| | | | and dsdb_class_from_ldb to dsdb_set_class_from_ldb
* auth-krb: Move pac related util functions in a single place.Simo Sorce2012-04-121-0/+1
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* libndr: Rename policy_handle_empty to ndr_policy_handle_empty.Jelmer Vernooij2012-03-202-11/+12
| | | This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a ↵Jelmer Vernooij2012-03-201-1/+1
| | | | | ndr_ prefix. This makes the NDR namespace a bit clearer, in preparation of ABI checking.