summaryrefslogtreecommitdiffstats
path: root/source3/torture
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:vfstest: reload_services() doesn't need a messaging_contextStefan Metzmacher2011-12-131-1/+1
| | | | | | | | | It's only used to get the global smbd_server_connection, which is used in conn_snum_used() via lp_killunused(). But there we don't need it, as we don't have any tree connects at startup time. metze
* s3: Remove a bunch of calls to procid_self()Volker Lendecke2011-12-121-1/+1
| | | | All callers to messaging_[re]init only used procid_self()
* s4-lsarpc handle more info levels in SetInfoTrustedDomain callsAndrew Bartlett2011-12-121-1/+1
| | | | | | | This uses the very helpful conversion functions written for the s3 lsa server and places these in common. Andrew Bartlett
* Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()Jeremy Allison2011-12-039-106/+106
| | | | with a call that uses NTCreateX in preference to OpenAndX.
* s3:torture: test smb2cli_logoff and smb2cli_tdisStefan Metzmacher2011-11-241-0/+37
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 24 20:36:31 CET 2011 on sn-devel-104
* s3:torture: add SMB2-SESSION-REAUTHStefan Metzmacher2011-11-243-0/+215
| | | | metze
* s3:torture: add SMB2-MULTI-CHANNEL testStefan Metzmacher2011-11-243-0/+258
| | | | metze
* s3:torture: add a new test SMB2-TCON-DEPENDENCEMichael Adam2011-11-243-0/+106
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:torture:smb2: add SMB2-SESSION-RECONNECT testMichael Adam2011-11-243-0/+391
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:torture: use cli_tree_connect() instead of smb2cli_tcon()Stefan Metzmacher2011-11-241-2/+2
| | | | metze
* s3:torture: make use of cli_tree_connect()Stefan Metzmacher2011-11-243-9/+9
| | | | metze
* s3:torture: replace smb2cli_sesssetup_ntlmssp() with the more generic ↵Stefan Metzmacher2011-11-241-2/+6
| | | | | | cli_session_setup() metze
* s3:torture: add SMB2-NEGPROT testStefan Metzmacher2011-11-243-0/+65
| | | | metze
* s3:SMB2-BASIC: use smbXcli_negprot() directlyStefan Metzmacher2011-11-241-2/+4
| | | | metze
* s3-torture: remove all cli_nt_error() calls in tortureBjörn Baumbach2011-11-161-12/+11
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture: replace cli_errstr() with nt_errstr()Björn Baumbach2011-11-161-6/+10
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:torture: s/Undefined/SMB_SIGNING_DEFAULT/ s/Required/SMB_SIGNING_REQUIRED/Stefan Metzmacher2011-11-034-8/+8
| | | | metze
* s3:torture: let SMB2-BASICS work against w2k8r2 and win8pre0Stefan Metzmacher2011-11-031-10/+24
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 3 09:44:59 CET 2011 on sn-devel-104
* s3-torture Remove t_stringoverflow as fstrcpy now uses strlcpyAndrew Bartlett2011-10-281-23/+0
| | | | | | | | Because we no longer use safe_strcpy() internally, we no longer have a mode where we write to the end of the buffer in developer mode, and so there isn't anything for this test to test. Andrew Bartlett
* s3-torture run t_strappend tests as LOCAL-sprintf_appendAndrew Bartlett2011-10-283-5/+11
|
* s3-torture Run t_strappend test for less timeAndrew Bartlett2011-10-281-1/+1
|
* s3-torture Fix t_strappend testAndrew Bartlett2011-10-281-3/+3
|
* s3-torture remove unused t_push_ucs2.c t_strcmp.c t_strstr.cAndrew Bartlett2011-10-283-125/+0
| | | | | | | | These tests were incorportated into source4/scripting/python/samba/tests/strings.py with fa3e2fc8bb3e935c65b7043382cad1d649cb68a6. Andrew Bartlett
* s3-torture remove unused t_asn1.cAndrew Bartlett2011-10-281-65/+0
| | | | | | | This test was incorportated into lib/util/test/asn1_test.c with ede98c0e5190bf59461703629d5a4742ad8e044f Andrew Bartlett
* torture: Remove unused smbiconvAndrew Bartlett2011-10-251-246/+0
| | | | | | | | | | | | smbiconv is not used in any test script, and has only had changes since being introduced by Jelmer to keep it building. It is also not installed on the system. I have also checked with Jelmer, who approved the removal. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/smb: move source3/libsmb/read_smb.* to the toplevelStefan Metzmacher2011-10-241-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104
* s3:torture: avoid using read_smb()Stefan Metzmacher2011-10-241-1/+16
| | | | metze
* s3: Remove duplicate fsctl function definitionsDavid Disseldorp2011-10-191-1/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of ↵Michael Adam2011-10-111-4/+8
| | | | | | bool) for consistency and better error propagation
* s3:torture: convert torture.c to only use dbwrap wrapper functionsMichael Adam2011-10-111-17/+26
| | | | Avoid direct use of the db_record and db_context structs.
* s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.hMichael Adam2011-10-111-0/+1
|
* Add a torture test to test existing FSCTL responsesRichard Sharpe2011-10-013-0/+289
|
* s3:smb2cli: s/smb2cli_sesssetup/smb2cli_sesssetup_ntlmssp/Stefan Metzmacher2011-09-181-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 21:43:26 CEST 2011 on sn-devel-104
* s3:SMB2-BASIC: test smb2cli_flush()Stefan Metzmacher2011-09-181-0/+6
| | | | metze
* s3:libsmb: pass max_protocol to cli_negprot()Stefan Metzmacher2011-09-153-7/+5
| | | | metze
* s3:libsmb: remove unused cli->is_sambaStefan Metzmacher2011-09-141-8/+0
| | | | | | | | s3:libsmb: remove unused cli->is_samba metze Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:torture/run_oplock4: don't set cli->use_level_II_oplocksStefan Metzmacher2011-09-141-3/+0
| | | | | | | | | | | Doing this after the session setup is pointless, as that's the only place where we tell the server we support level II oplocks. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 14 17:23:46 CEST 2011 on sn-devel-104
* s3:torture: there's no need to alter cli->max_xmit in order to test large writesStefan Metzmacher2011-09-131-7/+3
| | | | metze
* s3:torture: use CLI_BUFFER_SIZE instead of cli->max_xmitStefan Metzmacher2011-09-131-1/+1
| | | | | | | | | | | | The max_data parameter of trans2/nttrans calls are not bound to cli->max_xmit. Even with cli->max_xmit, which means the max size of the whole SMB pdu, we would get fragmented trans2/nttrans replies. That's why we can also use our maximum, which is CLI_BUFFER_SIZE. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 13 14:52:35 CEST 2011 on sn-devel-104
* s3-lsa: Add conversion for auth info structsSumit Bose2011-09-123-0/+220
| | | | | | | | | | | struct lsa_TrustDomainInfoAuthInfo and struct trustAuthInOutBlob can store the same information for different usage. The added routines can convert one struct into the other. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Sep 12 15:52:17 CEST 2011 on sn-devel-104
* s3:torture: make use of CLI_FULL_CONNECTION_DONT_SPNEGOStefan Metzmacher2011-09-081-4/+11
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 8 19:23:32 CEST 2011 on sn-devel-104
* s3:torture: make use of CLI_FULL_CONNECTION_FORCE_DOS_ERRORSStefan Metzmacher2011-09-081-1/+8
| | | | metze
* s3:libsmb: pass CLI_FULL_CONNECTION_* flags via cli_connect_nb()Stefan Metzmacher2011-09-083-18/+25
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 8 10:21:50 CEST 2011 on sn-devel-104
* s3:torture: relax TRANS2 midmight time checkingStefan Metzmacher2011-09-071-2/+4
| | | | | | | | It's possible that the test runs on a full hour, e.g. Tue Sep 6 03:00:00 2011. So better check that the a_time is different from the current time. metze
* Replace calls to sid_equal with calls to dom_sid_equalVolker Lendecke2011-08-171-1/+2
|
* torture: use tevent_ functions names instead of the legacy event_ onesSimo Sorce2011-08-131-3/+3
|
* Revert "s3:test_async_echo: unsure the desired smb message sequence"Stefan Metzmacher2011-08-101-10/+0
| | | | | | | | | | | This reverts commit 34faeb8bba86fff57466c06682b7dcbffc48a52a. This is not needed anymore. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Aug 10 09:54:24 CEST 2011 on sn-devel-104
* s3:torture/*: use CLI_BUFFER_SIZE instead of cli->max_xmitStefan Metzmacher2011-08-092-3/+3
| | | | | | | | | The max_data parameter of trans2/nttrans calls are not bound to cli->max_xmit. Even with cli->max_xmit, which means the max size of the whole SMB pdu, we would get fragmented trans2/nttrans replies. That's why we can also use our maximum, which is CLI_BUFFER_SIZE. metze
* s3: Fix "ISO C90 forbids mixed declarations and code"Volker Lendecke2011-08-051-7/+7
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Aug 5 16:58:37 CEST 2011 on sn-devel-104
* s3: Fix some nonempty blank linesVolker Lendecke2011-08-051-25/+25
|