summaryrefslogtreecommitdiffstats
path: root/source3/torture
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* s3:torture: make use of cli_set_timeout()Stefan Metzmacher2011-08-031-2/+2
| | | | metze
* s3:masktest: make use of cli_state_protocol()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:torture: make use of cli_state_capabilities()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam2011-07-291-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
* s3:dbwrap: move db_open() to a file dbwrap_open.c of its own.Michael Adam2011-07-291-0/+1
| | | | | | Also start new folder lib/dbwrap/ where dbwrap_open.c is stored and make the fallbacke implementation functoins non-static and create a dbwrap_private.h header file that contains their prototypes.
* s3: In the async echo test, write 65kVolker Lendecke2011-07-281-1/+1
| | | | | | | | This leads to the writev from echo responder child to parent to only deliver a partial blob and thus excercises the retry code. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 28 15:07:40 CEST 2011 on sn-devel-104
* s3:torture: use lp_load_global() in pdbtest - this does not need shares nor IPC$Michael Adam2011-07-281-1/+1
|
* s3:smbtorture: use the lp_load_global() wrapper of lp_load()Michael Adam2011-07-281-1/+1
|
* s3:torture: use lp_load_global() in the strstr testMichael Adam2011-07-281-1/+1
|
* s3:torture: use lp_load_global in the strcmp testMichael Adam2011-07-281-1/+1
|
* s3:torture: use lp_load_global() in the push_ucs2 testMichael Adam2011-07-281-1/+1
|
* s3:torture: use lp_load_global() in the msgtestMichael Adam2011-07-281-1/+1
|
* s3:torture: use lp_load_global() in the masktestMichael Adam2011-07-281-1/+1
|
* s3:torture: use lp_load_global() in locktest2Michael Adam2011-07-281-1/+1
|
* s3:torture: use lp_load_global() in the locktestMichael Adam2011-07-281-1/+1
|
* s3: Avoid calls to cli_dos/nt_error in tortureVolker Lendecke2011-07-271-20/+19
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 27 23:07:51 CEST 2011 on sn-devel-104
* s3: Fix formatting in check_error()Volker Lendecke2011-07-271-3/+6
|
* s3:test_async_echo: unsure the desired smb message sequenceStefan Metzmacher2011-07-271-0/+10
| | | | | | | We want to start sending echo requests once the rpc related smb operation arrived the smb layer. metze
* s3: cli_close_done->write_andx_done in test_async_echoVolker Lendecke2011-07-271-2/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 27 02:03:49 CEST 2011 on sn-devel-104
* s3: Fix a debug messageVolker Lendecke2011-07-271-1/+1
|
* s3: Fix formattingVolker Lendecke2011-07-271-2/+4
|
* s3: Fix an error messageVolker Lendecke2011-07-271-1/+1
|
* s3-torture: run_nttrans_create(): replace cli_query_secdesc_old()Björn Baumbach2011-07-231-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old()Björn Baumbach2011-07-231-1/+1
| | | | | | Will introduce new cli_query_secdesc() function Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture/nbio.c: replace cli_read_old() with cli_read()Björn Baumbach2011-07-231-4/+15
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture/utable.c: replace cli_read_old() with cli_read()Björn Baumbach2011-07-231-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture/denytest.c: replace cli_read_old() with cli_read()Björn Baumbach2011-07-231-6/+14
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>