summaryrefslogtreecommitdiffstats
path: root/source3/torture
Commit message (Collapse)AuthorAgeFilesLines
* s3:torture: fix use of non-existent word (existant)Michael Adam2012-06-121-3/+3
|
* s3:torture: use smbd/smbd.h instead of just smbd/proto.h in vfstest_chain.cStefan Metzmacher2012-06-061-1/+1
| | | | | | This fixes compiler warnings regarding incomplete types. metze
* Tests for bug #8972 - Add permission checks to run_simple_posix_open_test().Jeremy Allison2012-06-051-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
* s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_sendLuk Claes2012-06-032-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
* s3:libsmb: get rid of cli_ucs2Luk Claes2012-05-281-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
* s3:libsmb: get rid of cli_negprotLuk Claes2012-05-283-5/+11
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_disconnectLuk Claes2012-05-281-1/+1
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_capabilitiesLuk Claes2012-05-281-1/+1
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_protocolLuk Claes2012-05-281-1/+2
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_sockoptLuk Claes2012-05-281-49/+50
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Test whether get_share_mode_lock cleans up stale processesVolker Lendecke2012-05-253-0/+177
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Added torture test for bug #8910. Test remove_duplicate_addrs2().Jeremy Allison2012-05-221-0/+104
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 22 01:31:17 CEST 2012 on sn-devel-104
* s3: Revert the serverid changes, they need more workVolker Lendecke2012-05-183-177/+0
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri May 18 13:12:14 CEST 2012 on sn-devel-104
* s3: Test whether get_share_mode_lock cleans up stale processesVolker Lendecke2012-05-173-0/+177
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:torture: add #include "lib/util/tevent_ntstatus.h" to test_addrchange.cStefan Metzmacher2012-05-141-0/+1
| | | | metze
* s3/libsmb: Generalise cli_state in smb2 logoff callsLuk Claes2012-05-121-2/+2
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3/libsmb: Generalise cli_state in smb2 write callsLuk Claes2012-05-121-7/+14
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3/libsmb: Generalise cli_state in smb2 query_directory callsLuk Claes2012-05-121-4/+8
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3/libsmb: Generalise cli_state in smb2 flush callsLuk Claes2012-05-121-18/+36
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3/libsmb: Generalise cli_state in smb2 create callsLuk Claes2012-05-121-16/+32
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3/libsmb: Generalise cli_state in smb2 close callsLuk Claes2012-05-121-6/+12
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: Generalise cli_state in smb2 read callsLuk Claes2012-05-121-24/+32
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:torture/test_smb2: add support for PROTOCOL_SMB3_00Stefan Metzmacher2012-05-061-7/+10
| | | | metze
* s3:torture: do some query_info and set_info calls in SMB2-SESSION-REAUTHStefan Metzmacher2012-05-061-0/+143
| | | | metze
* s3:torture fix flakey testcaseChristian Ambach2012-05-021-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
* s3:torture: add idmap_tdb_common test codeChristian Ambach2012-05-013-0/+1030
|
* s3-dbwrap: Add dbwrap_record_watch_send/recvVolker Lendecke2012-04-193-0/+98
| | | | With this API you can asynchronously wait for a record to be modified
* s3-passdb: Remove unused sampass->pass_must_change_timeAndrew Bartlett2012-04-191-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
* s3: Add two notify benchmark testsVolker Lendecke2012-04-173-0/+724
|
* s3: Make torture_nprocs globally availableVolker Lendecke2012-04-171-19/+19
|
* s3: Add msg_channelVolker Lendecke2012-04-173-0/+133
| | | | This is a tevent_based variant of messaging_register
* s3: Add a second ctdb connect libraryVolker Lendecke2012-04-173-0/+249
| | | | The existing one is not async at all.
* build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett2012-04-064-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
* build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett2012-04-051-1/+1
|
* Who would have guessed - checking returns from strlcat found a memory ↵Jeremy Allison2012-03-301-1/+1
| | | | overwrite bug :-).
* More strlcat/strlcpy truncate checks.Jeremy Allison2012-03-301-2/+8
|
* lib/util: Remove dummy wrapper for getgrgid().Jelmer Vernooij2012-03-241-3/+3
|
* lib/util: Remove dummy wrapper for getpwuid().Jelmer Vernooij2012-03-241-3/+3
|
* s3:torture: fix segfault in LOCAL-TALLOC-DICTStefan Metzmacher2012-03-131-1/+3
| | | | | | talloc_dict_set() expects a pointer to an talloc'ed pointer. metze
* s3:torture: talloc_dict_traverse() returns the number of entriesStefan Metzmacher2012-03-131-2/+7
| | | | metze
* s3: Add a new set of andx chain handling routinesVolker Lendecke2012-03-103-0/+347
| | | | This is in preparation of getting rid of chain_reply.
* s3-selftest: Add tests for ntlm_auth gss-spnego client and serverAndrew Bartlett2012-03-021-0/+10
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Mar 2 07:05:44 CET 2012 on sn-devel-104
* s3-selftest: make ntlm_auth test more robust to bad inputAndrew Bartlett2012-03-011-2/+5
| | | | | | If we do not know the helper protocol, make sure to error. Andrew Bartlett
* s3-selftest: Add more tests for ntlm_authAndrew Bartlett2012-03-011-19/+76
|
* s3:torture/test_smb2: test path based calls during reauth in SMB2-MULTI-CHANNELStefan Metzmacher2012-02-291-3/+51
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Feb 29 07:23:14 CET 2012 on sn-devel-104
* s3:torture/test_smb2: test handle based calls during reauth in ↵Stefan Metzmacher2012-02-291-0/+18
| | | | | | SMB2-MULTI-CHANNEL metze
* s3:torture/test_smb2: do a reauth over multiple channels in SMB2-MULTI-CHANNELStefan Metzmacher2012-02-291-0/+100
| | | | metze
* s3:torture/test_smb2: add a 3rd channel to SMB2-MULTI-CHANNELStefan Metzmacher2012-02-291-1/+154
| | | | metze
* s3:torture/test_smb2: expect FILE_CLOSED on invalid handles in ↵Stefan Metzmacher2012-02-291-2/+4
| | | | | | SMB2-MULTI-CHANNEL metze
* s3: Add a test that makes a chained open break an oplockVolker Lendecke2012-02-293-0/+296
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 29 01:13:03 CET 2012 on sn-devel-104