summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
2011-10-28s3-torture Remove t_stringoverflow as fstrcpy now uses strlcpyAndrew Bartlett1-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
2011-10-28s3-torture run t_strappend tests as LOCAL-sprintf_appendAndrew Bartlett3-5/+11
2011-10-28s3-torture Run t_strappend test for less timeAndrew Bartlett1-1/+1
2011-10-28s3-torture Fix t_strappend testAndrew Bartlett1-3/+3
2011-10-28s3-torture remove unused t_push_ucs2.c t_strcmp.c t_strstr.cAndrew Bartlett3-125/+0
These tests were incorportated into source4/scripting/python/samba/tests/strings.py with fa3e2fc8bb3e935c65b7043382cad1d649cb68a6. Andrew Bartlett
2011-10-28s3-torture remove unused t_asn1.cAndrew Bartlett1-65/+0
This test was incorportated into lib/util/test/asn1_test.c with ede98c0e5190bf59461703629d5a4742ad8e044f Andrew Bartlett
2011-10-25torture: Remove unused smbiconvAndrew Bartlett1-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>
2011-10-24libcli/smb: move source3/libsmb/read_smb.* to the toplevelStefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104
2011-10-24s3:torture: avoid using read_smb()Stefan Metzmacher1-1/+16
metze
2011-10-19s3: Remove duplicate fsctl function definitionsDavid Disseldorp1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-11s3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of ↵Michael Adam1-4/+8
bool) for consistency and better error propagation
2011-10-11s3:torture: convert torture.c to only use dbwrap wrapper functionsMichael Adam1-17/+26
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.hMichael Adam1-0/+1
2011-10-01Add a torture test to test existing FSCTL responsesRichard Sharpe3-0/+289
2011-09-18s3:smb2cli: s/smb2cli_sesssetup/smb2cli_sesssetup_ntlmssp/Stefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 21:43:26 CEST 2011 on sn-devel-104
2011-09-18s3:SMB2-BASIC: test smb2cli_flush()Stefan Metzmacher1-0/+6
metze
2011-09-15s3:libsmb: pass max_protocol to cli_negprot()Stefan Metzmacher3-7/+5
metze
2011-09-14s3:libsmb: remove unused cli->is_sambaStefan Metzmacher1-8/+0
s3:libsmb: remove unused cli->is_samba metze Signed-off-by: Jeremy Allison <jra@samba.org>
2011-09-14s3:torture/run_oplock4: don't set cli->use_level_II_oplocksStefan Metzmacher1-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
2011-09-13s3:torture: there's no need to alter cli->max_xmit in order to test large writesStefan Metzmacher1-7/+3
metze
2011-09-13s3:torture: use CLI_BUFFER_SIZE instead of cli->max_xmitStefan Metzmacher1-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
2011-09-12s3-lsa: Add conversion for auth info structsSumit Bose3-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
2011-09-08s3:torture: make use of CLI_FULL_CONNECTION_DONT_SPNEGOStefan Metzmacher1-4/+11
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 8 19:23:32 CEST 2011 on sn-devel-104
2011-09-08s3:torture: make use of CLI_FULL_CONNECTION_FORCE_DOS_ERRORSStefan Metzmacher1-1/+8
metze
2011-09-08s3:libsmb: pass CLI_FULL_CONNECTION_* flags via cli_connect_nb()Stefan Metzmacher3-18/+25
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 8 10:21:50 CEST 2011 on sn-devel-104
2011-09-07s3:torture: relax TRANS2 midmight time checkingStefan Metzmacher1-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
2011-08-17Replace calls to sid_equal with calls to dom_sid_equalVolker Lendecke1-1/+2
2011-08-13torture: use tevent_ functions names instead of the legacy event_ onesSimo Sorce1-3/+3
2011-08-10Revert "s3:test_async_echo: unsure the desired smb message sequence"Stefan Metzmacher1-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
2011-08-09s3:torture/*: use CLI_BUFFER_SIZE instead of cli->max_xmitStefan Metzmacher2-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
2011-08-05s3: Fix "ISO C90 forbids mixed declarations and code"Volker Lendecke1-7/+7
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Aug 5 16:58:37 CEST 2011 on sn-devel-104
2011-08-05s3: Fix some nonempty blank linesVolker Lendecke1-25/+25
2011-08-03s3:torture: make use of cli_set_timeout()Stefan Metzmacher1-2/+2
metze
2011-08-02s3:masktest: make use of cli_state_protocol()Stefan Metzmacher1-1/+1
metze
2011-08-02s3:torture: make use of cli_state_capabilities()Stefan Metzmacher1-1/+1
metze
2011-07-29s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
2011-07-29s3:dbwrap: move db_open() to a file dbwrap_open.c of its own.Michael Adam1-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.
2011-07-28s3: In the async echo test, write 65kVolker Lendecke1-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
2011-07-28s3:torture: use lp_load_global() in pdbtest - this does not need shares nor IPC$Michael Adam1-1/+1
2011-07-28s3:smbtorture: use the lp_load_global() wrapper of lp_load()Michael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the strstr testMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global in the strcmp testMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the push_ucs2 testMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the msgtestMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the masktestMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in locktest2Michael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the locktestMichael Adam1-1/+1
2011-07-27s3: Avoid calls to cli_dos/nt_error in tortureVolker Lendecke1-20/+19
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 27 23:07:51 CEST 2011 on sn-devel-104
2011-07-27s3: Fix formatting in check_error()Volker Lendecke1-3/+6
2011-07-27s3:test_async_echo: unsure the desired smb message sequenceStefan Metzmacher1-0/+10
We want to start sending echo requests once the rpc related smb operation arrived the smb layer. metze