summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
2012-07-25libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher1-0/+4
metze
2012-07-25s3:libsmb: remove unused cli_state->smb2.pidStefan Metzmacher1-9/+0
metze
2012-07-25s3:libsmb: remove cli_state->smb2.tidStefan Metzmacher1-27/+18
metze
2012-07-25s3:torture: remove unused shm_setup()Stefan Metzmacher2-56/+0
metze
2012-07-25s3:torture: replace shm_setup() with anonymous_shared_allocate()Stefan Metzmacher2-4/+4
metze
2012-07-25s3:torture/test_smb2: make a copy of smbXcli_tconStefan Metzmacher1-0/+32
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Jul 25 00:10:47 CEST 2012 on sn-devel-104
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_query_directory*()Stefan Metzmacher1-4/+4
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_query_info*()Stefan Metzmacher1-5/+5
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_set_info*()Stefan Metzmacher1-2/+2
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_flush*()Stefan Metzmacher1-18/+18
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_write*()Stefan Metzmacher1-7/+7
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_read*()Stefan Metzmacher1-10/+20
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_close*()Stefan Metzmacher1-6/+6
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_create*()Stefan Metzmacher1-16/+16
metze
2012-07-23s3:test_smb2: copy the session_channel from the primary channel.Stefan Metzmacher1-1/+1
metze
2012-07-18source3/torture/pdbtest: allocate talloc_stackframe()Rusty Russell1-2/+2
Avoid talloc_tos() without a stackframe. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-07-18loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *.Rusty Russell1-1/+1
They use talloc_tos() internally: hoist that up to the callers, some of whom don't want to us talloc_tos(). A simple patch, but hits a lot of files. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-27s3-pdbtest: Initialise more elements for testingAndrew Bartlett1-0/+8
If these were left as defaults, they cause issues when the backend (pdb_samba4) returns the internal defaults from the directory, not the defaults from samu_new() Andrew Bartlett
2012-06-27s3-pdbtest: show mis-matching timesAndrew Bartlett1-4/+12
2012-06-26s3-pdbtest: Fix pdbtest to compare the same fieldsAndrew Bartlett1-1/+1
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Jun 26 16:09:28 CEST 2012 on sn-devel-104
2012-06-26s3-pdbtest: Report and handle errors in pdb->getsampwnam()Andrew Bartlett1-3/+5
2012-06-22s3:torture:smb2: pass smb2-session-reconnect test (add generosity in error case)Michael Adam1-7/+21
samba checks tree before file, so we get a STATUS_NETWORK_NAME_DELETED instead STATUS_FILE_CLOSED when operating on a file handle on a invalid tree id. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15dbwrap: dbwrap_store_uint32->dbwrap_store_uint32_bystringVolker Lendecke1-2/+4
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-15dbwrap: dbwrap_fetch_uint32->dbwrap_fetch_uint32_bystringVolker Lendecke1-2/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-15dbwrap: dbwrap_store_int32->dbwrap_store_int32_bystringVolker Lendecke1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-12s3:torture: fix use of non-existent word (existant)Michael Adam1-3/+3
2012-06-06s3:torture: use smbd/smbd.h instead of just smbd/proto.h in vfstest_chain.cStefan Metzmacher1-1/+1
This fixes compiler warnings regarding incomplete types. metze
2012-06-05Tests for bug #8972 - Add permission checks to run_simple_posix_open_test().Jeremy Allison1-0/+27
This requires a share with : create mask = 0777 force create mode = 0 directory mask = 0777 force directory mode = 0 set so we don't mess with requested permissions. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jun 5 08:20:03 CEST 2012 on sn-devel-104
2012-06-03s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_sendLuk Claes2-3/+4
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jun 3 23:37:02 CEST 2012 on sn-devel-104
2012-05-28s3:libsmb: get rid of cli_ucs2Luk Claes1-6/+7
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 28 16:58:03 CEST 2012 on sn-devel-104
2012-05-28s3:libsmb: get rid of cli_negprotLuk Claes3-5/+11
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_disconnectLuk Claes1-1/+1
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_capabilitiesLuk Claes1-1/+1
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_protocolLuk Claes1-1/+2
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_sockoptLuk Claes1-49/+50
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-25s3: Test whether get_share_mode_lock cleans up stale processesVolker Lendecke3-0/+177
Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-22Added torture test for bug #8910. Test remove_duplicate_addrs2().Jeremy Allison1-0/+104
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 22 01:31:17 CEST 2012 on sn-devel-104
2012-05-18s3: Revert the serverid changes, they need more workVolker Lendecke3-177/+0
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri May 18 13:12:14 CEST 2012 on sn-devel-104
2012-05-17s3: Test whether get_share_mode_lock cleans up stale processesVolker Lendecke3-0/+177
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-05-14s3:torture: add #include "lib/util/tevent_ntstatus.h" to test_addrchange.cStefan Metzmacher1-0/+1
metze
2012-05-12s3/libsmb: Generalise cli_state in smb2 logoff callsLuk Claes1-2/+2
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12s3/libsmb: Generalise cli_state in smb2 write callsLuk Claes1-7/+14
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12s3/libsmb: Generalise cli_state in smb2 query_directory callsLuk Claes1-4/+8
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12s3/libsmb: Generalise cli_state in smb2 flush callsLuk Claes1-18/+36
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12s3/libsmb: Generalise cli_state in smb2 create callsLuk Claes1-16/+32
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12s3/libsmb: Generalise cli_state in smb2 close callsLuk Claes1-6/+12
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12s3-libsmb: Generalise cli_state in smb2 read callsLuk Claes1-24/+32
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-06s3:torture/test_smb2: add support for PROTOCOL_SMB3_00Stefan Metzmacher1-7/+10
metze
2012-05-06s3:torture: do some query_info and set_info calls in SMB2-SESSION-REAUTHStefan Metzmacher1-0/+143
metze
2012-05-02s3:torture fix flakey testcaseChristian Ambach1-6/+20
don't put database into /tmp, use lp_private_dir() to put it into the selftest prefix Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Wed May 2 00:57:05 CEST 2012 on sn-devel-104