summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-18s3-torture: run_locktest5(): replace cli_lock() with cli_lock32()Björn Baumbach1-11/+15
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-18s3-torture: run_locktest4(): replace cli_lock() with cli_lock32()Björn Baumbach1-37/+44
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-18s3-torture: run_oplock2(): replace cli_lock() with cli_lock32()Björn Baumbach1-5/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-18s3-torture: run_locktest9(): replace cli_lock() with cli_lock32()Björn Baumbach1-3/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-18s3-torture: run_locktest8(): replace cli_lock() with cli_lock32()Björn Baumbach1-2/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-18s3-torture: run_locktest7(): replace cli_lock() with cli_lock32()Björn Baumbach1-4/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-18s3-torture: run_locktest3(): replace cli_lock() with cli_lock32()Björn Baumbach1-8/+15
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-11s3-torture: run_locktest2(): replace check_error() with check_both_error()Björn Baumbach1-10/+14
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-11s3-torture: run_locktest2(): replace cli_lock() with cli_lock32()Björn Baumbach1-20/+35
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-11s3-torture: run_locktest1(): replace cli_lock() with cli_lock32()Björn Baumbach1-17/+25
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-11s3-torture: let wait_lock() use cli_lock32() instead of cli_lock()Björn Baumbach1-3/+13
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-08s3:torture: use cli_is_nt/dos_error() in run_error_map_extract()Stefan Metzmacher1-12/+10
Callers should avoid using cli->inbuf directly! metze
2011-07-08s3:torture: add SMB2-BASICStefan Metzmacher1-1/+15
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-07s3-torture: run_shortname_test: Remove uses of cli_errstr()Björn Baumbach1-3/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-07s3-torture: run_simple_posix_open_test: Remove uses of cli_errstr()Björn Baumbach1-21/+31
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-07s3-torture: use nt_errstr() for cli_unlink() error handlingStefan Metzmacher1-1/+3
Use nt_errstr() instead of cli_errstr() for error handling on cli_unlink() calls. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-07s3-torture: introduce check_both_error()Björn Baumbach1-0/+34
Check if the server produced the expected dos or nt error code like check_error(), but without a cli_state struct. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-07s3:libsmb: use clistr_pull_talloc() for short_name in interpret_long_filename()Stefan Metzmacher1-2/+2
metze
2011-07-07s3: Remove a use of cli_errstrVolker Lendecke1-2/+6
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 7 18:04:26 CEST 2011 on sn-devel-104
2011-07-06s3:libsmb: use clistr_pull_talloc() in cli_qfilename()Stefan Metzmacher1-2/+2
metze
2011-07-06s3:libsmb: let cli_qfileinfo[_recv]() return recv_flags2Stefan Metzmacher1-1/+1
metze
2011-06-20tdb_compat: Higher level API fixes.Rusty Russell1-4/+4
My previous patches fixed up all direct TDB callers, but there are a few utility functions and the db_context functions which are still using the old -1 / 0 return codes. It's clearer to fix up all the callers of these too, so everywhere is consistent: non-zero means an error. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-19s3: Test nttrans_createVolker Lendecke1-0/+1
This is a test for the share security descriptor exception for nttrans_create
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-1/+1
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-05-29s3: Fix cli_bad_session_requestVolker Lendecke1-2/+19
We expect a negative session response with a 0x82 error (called name not present), not a 0x82 message
2011-05-29s3: Simplify run_bad_nbt_sessionVolker Lendecke1-40/+26
2011-05-29s3: Simplify cli_bad_session_requestVolker Lendecke1-12/+4
For this purpose we don't need the full cli_state
2011-05-28s3: Use cli_connect_nb in smbtorture open_nbt_connectionVolker Lendecke1-36/+2
2011-05-22s3: Remove the smbtorture3 OPLOCK3 testVolker Lendecke1-58/+0
This is the last user of cli_receive_smb. Oplocks are nowadays tested in smbtorture4, this mainly has historic value
2011-05-22s3: Convert the OPEN4 test to async oplock handlingVolker Lendecke1-32/+96
This removes a caller of cli_receive_smb
2011-05-19s3: Remove a use of cli_send_smbVolker Lendecke1-46/+53
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 19 20:11:33 CEST 2011 on sn-devel-104
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett1-1/+1
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-18s3-smbtorture: fix build warning (shadowed NTSTATUS variable).Günther Deschner1-1/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 18 14:17:13 CEST 2011 on sn-devel-104
2011-05-18s3-torture: torture.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach1-510/+804
Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2011-05-06s3: only include tdb headers where needed.Günther Deschner1-0/+1
Guenther
2011-05-06nterr: Add mem_ctx for return string from get_nt_error_c_code()Andrew Bartlett1-3/+3
It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett
2011-05-06Fix const in smbtorture.Jeremy Allison1-9/+8
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 02:45:00 CEST 2011 on sn-devel-104
2011-05-04s3-torture: Add a test for notify upon read&xVolker Lendecke1-1/+8
This makes sure that when a file is brought online by a read call we notify the client for FILE_NOTIFY_CHANGE_ATTRIBUTES. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 21:09:22 CEST 2011 on sn-devel-104
2011-04-30Add POSIX O_RDONLY test of a directory for bug #8112 - POSIX extension opens ↵Jeremy Allison1-2/+10
of a directory are denied with EISDIR. Don't strip access bits from wire flags when opening a directory. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 30 02:21:24 CEST 2011 on sn-devel-104
2011-04-30torture test for bug #8111 - CIFS VFS: unexpected error on SMB posix open.Jeremy Allison1-0/+55
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 30 00:33:40 CEST 2011 on sn-devel-104
2011-04-29s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
2011-04-29s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCHAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett1-9/+9
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett1-104/+104
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett1-104/+104
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLYAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-26s3: Use cli_writeall instead of cli_writeVolker Lendecke1-66/+114
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-03s3: Add a quick test for bug 8042Volker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 16:13:21 CEST 2011 on sn-devel-104