summaryrefslogtreecommitdiff
path: root/source4/torture
Commit message (Collapse)AuthorAgeFilesLines
* s4:torture: fix use of non-existent word (existant)Michael Adam2012-06-128-15/+15
|
* s4-selftest: Test samba-tool drs replicate --local --full-syncAndrew Bartlett2012-06-112-1/+11
|
* s4-torture: fsrvp test suiteDavid Disseldorp2012-06-083-2/+574
| | | | Covers most operations defined by the File Server Remote VSS Protocol.
* waf: support --without-ad-dc for Heimdal (embedded and system) as wellAlexander Bokovoy2012-06-073-3/+3
| | | | | | --without-ad-dc was hardwired to mean --with-system-mitkrb5. With this change it also possible to build source3/ code and source4/ client side without building AD DC functionality using Heimdal (embedded or system).
* build: Add missing deps and make MESSAGING a private libraryAndrew Bartlett2012-06-071-3/+3
| | | | | | | | | To remove finddcs_nbt these missing deps need to be added. These subsystems linked to to implicit dependencies provided by finddcs. Due to the new arrangmenet of subsystems, MESSAGING needs to be a private library to avoid being a source of duplicate symbols. Andrew Bartlett
* s4:torture/locktest: fix compiler warningStefan Metzmacher2012-06-051-1/+1
| | | | metze
* s4-torture: verify #8373 and add ndr nbt tests for LOGON_PRIMARY_QUERY ↵Günther Deschner2012-05-291-1/+36
| | | | | | | | | nbt_netlogon_requests. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 29 15:49:10 CEST 2012 on sn-devel-104
* s4:torture report connection error via torture_failChristian Ambach2012-05-291-1/+8
| | | | | | | | | to make smbtorture report the error instead of complaining about missing torture_ call Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 29 13:57:42 CEST 2012 on sn-devel-104
* s4:torture/samba3rpc: add smb1-pipe-nameStefan Metzmacher2012-05-281-0/+252
| | | | metze
* s4:torture/samba3rpc: add smb2-pipe-nameStefan Metzmacher2012-05-281-0/+84
| | | | metze
* Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy2012-05-233-3/+11
| | | | | | | | | | | | | | | | | System MIT krb5 build also enabled by specifying --without-ad-dc When --with-system-mitkrb5 (or --withou-ad-dc) option is passed to top level configure in WAF build we are trying to detect and use system-wide MIT krb5 libraries. As result, Samba 4 DC functionality will be disabled due to the fact that it is currently impossible to implement embedded KDC server with MIT krb5. Thus, --with-system-mitkrb5/--without-ad-dc build will only produce * Samba 4 client libraries and their Python bindings * Samba 3 server (smbd, nmbd, winbindd from source3/) * Samba 3 client libraries In addition, Samba 4 DC server-specific tests will not be compiled into smbtorture. This in particular affects spoolss_win, spoolss_notify, and remote_pac rpc tests.
* s4:torture: Add raw.session.reauth2 testVolker Lendecke2012-05-181-0/+142
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri May 18 18:25:42 CEST 2012 on sn-devel-104
* s4:torture: rename raw.session.reauth => raw.session.reauth1Stefan Metzmacher2012-05-181-3/+3
| | | | metze
* s4-torture: Improve torture test boilerplate, use torture_assert()Andrew Bartlett2012-05-1818-279/+93
| | | | | | | | | This ensures that if this fails, it is reported as a subunit error correctly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri May 18 09:35:13 CEST 2012 on sn-devel-104
* s4-torture: Always use torture_assert() to handle failuresAndrew Bartlett2012-05-181-9/+6
|
* s4-torture: provide correct torture failures for failure to connectAndrew Bartlett2012-05-181-11/+9
|
* s4-torture: Fix rpc.samr.priv test to use torture_assert() macrosAndrew Bartlett2012-05-181-51/+16
|
* s4:torture: add smb2.session.expire1Stefan Metzmacher2012-05-171-1/+116
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 17 21:53:11 CEST 2012 on sn-devel-104
* s4:torture: add smb2.session.reconnect2 testStefan Metzmacher2012-05-171-0/+64
| | | | | | | This uses just one transport connection and demonstrates the implicit logoff of the previous session. metze
* s4:torture: rename smb2.session.reconnect to smb2.session.reconnect1Stefan Metzmacher2012-05-171-2/+2
| | | | metze
* s4:torture: remove unused vars in smb2.session.reauth*Stefan Metzmacher2012-05-171-2/+2
| | | | metze
* s4:torture/raw/context: test a session setup with a given invalid vuidStefan Metzmacher2012-05-091-17/+29
| | | | | | | | | | On a session setup with EXTENDED_SECURITY we'll get ERRSRV:ERRbaduid, while a session setup without EXTENDED_SECURITY ignores the given vuid. Before this test was doing a reauth of a given vuid, which works for newer Windows versions, but Windows 2000 gives INVALID_PARAMETER. metze
* s4:torture: add a new smb2.session.reauth5 test: rename after reauth to anon ↵Michael Adam2012-05-081-0/+228
| | | | - fails
* s4:torture: add a new smb2.session.reauth4 test: setting security descriptor ↵Michael Adam2012-05-081-0/+122
| | | | after reauth to anon - works
* s4:torture/raw/context: add subtests as torture testcasesStefan Metzmacher2012-05-081-46/+20
| | | | | | | | | | | | | TODO: add test_session with 'use spnego = false'. We need a way to do set an option just for one test case. Note: the 'use spnego = false' was ignored before as it's only used on the first session setup on a connection. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 8 04:50:39 CEST 2012 on sn-devel-104
* s4:torture/raw/context: INVALID_PARAMETER vs. LOGON_FAILURE...Stefan Metzmacher2012-05-081-1/+7
| | | | | | | | If the try a session setup without EXTENDED_SECURITY after one with EXTENDED_SECURITY Windows 2008 R2 returns INVALID_PARAMETER, while Windows 2000 sp4 returns LOGON_FAILURE... metze
* s4:torture/raw: make torture_raw_context a test suiteStefan Metzmacher2012-05-082-3/+12
| | | | metze
* s4:torture/raw/context: make use of torture_* macros and avoid 'printf'Stefan Metzmacher2012-05-081-100/+87
| | | | metze
* s4:torture/raw/context: pass tctx to test_pid_exit_only_sees_open()Stefan Metzmacher2012-05-081-1/+3
| | | | metze
* s4:torture/raw/session: make sure we got a reauth of the existing sessionStefan Metzmacher2012-05-081-0/+2
| | | | metze
* s4:torture: auth/pac.c: use Kerberos wrapper for krb5_keyblock_initAlexander Bokovoy2012-05-041-4/+4
| | | | Signed-off-by: Simo Sorce <idra@samba.org>
* Avoid using Heimdal-specific tests in MIT buildAlexander Bokovoy2012-05-043-3/+14
|
* s4:torture: add a check for talloc success in test_session_reauthVolker Lendecke2012-05-041-0/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri May 4 16:50:59 CEST 2012 on sn-devel-104
* s4:torture: add a new smb2.session.reauth3 test - getting security descriptorMichael Adam2012-05-031-0/+100
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu May 3 17:38:14 CEST 2012 on sn-devel-104
* 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