summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
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
2012-05-01s3:torture: add idmap_tdb_common test codeChristian Ambach3-0/+1030
2012-04-19s3-dbwrap: Add dbwrap_record_watch_send/recvVolker Lendecke3-0/+98
With this API you can asynchronously wait for a record to be modified
2012-04-19s3-passdb: Remove unused sampass->pass_must_change_timeAndrew Bartlett1-6/+0
There is no need to call pdb_set_pass_must_change_time() because nothing ever consults that value. It is always calculated from the domain policy. Also, this means we no longer store the value in LDAP. The value would only ever be set when migrating from tdbsam or smbpasswd, not on password changes, so would become incorrect over time. Andrew Bartlett
2012-04-17s3: Add two notify benchmark testsVolker Lendecke3-0/+724
2012-04-17s3: Make torture_nprocs globally availableVolker Lendecke1-19/+19
2012-04-17s3: Add msg_channelVolker Lendecke3-0/+133
This is a tevent_based variant of messaging_register
2012-04-17s3: Add a second ctdb connect libraryVolker Lendecke3-0/+249
The existing one is not async at all.
2012-04-06build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett4-10/+10
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
2012-04-05build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett1-1/+1