summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
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
2012-03-30Who would have guessed - checking returns from strlcat found a memory ↵Jeremy Allison1-1/+1
overwrite bug :-).
2012-03-30More strlcat/strlcpy truncate checks.Jeremy Allison1-2/+8
2012-03-24lib/util: Remove dummy wrapper for getgrgid().Jelmer Vernooij1-3/+3
2012-03-24lib/util: Remove dummy wrapper for getpwuid().Jelmer Vernooij1-3/+3
2012-03-13s3:torture: fix segfault in LOCAL-TALLOC-DICTStefan Metzmacher1-1/+3
talloc_dict_set() expects a pointer to an talloc'ed pointer. metze
2012-03-13s3:torture: talloc_dict_traverse() returns the number of entriesStefan Metzmacher1-2/+7
metze
2012-03-10s3: Add a new set of andx chain handling routinesVolker Lendecke3-0/+347
This is in preparation of getting rid of chain_reply.
2012-03-02s3-selftest: Add tests for ntlm_auth gss-spnego client and serverAndrew Bartlett1-0/+10
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Mar 2 07:05:44 CET 2012 on sn-devel-104
2012-03-01s3-selftest: make ntlm_auth test more robust to bad inputAndrew Bartlett1-2/+5
If we do not know the helper protocol, make sure to error. Andrew Bartlett
2012-03-01s3-selftest: Add more tests for ntlm_authAndrew Bartlett1-19/+76
2012-02-29s3:torture/test_smb2: test path based calls during reauth in SMB2-MULTI-CHANNELStefan Metzmacher1-3/+51
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Feb 29 07:23:14 CET 2012 on sn-devel-104
2012-02-29s3:torture/test_smb2: test handle based calls during reauth in ↵Stefan Metzmacher1-0/+18
SMB2-MULTI-CHANNEL metze
2012-02-29s3:torture/test_smb2: do a reauth over multiple channels in SMB2-MULTI-CHANNELStefan Metzmacher1-0/+100
metze
2012-02-29s3:torture/test_smb2: add a 3rd channel to SMB2-MULTI-CHANNELStefan Metzmacher1-1/+154
metze
2012-02-29s3:torture/test_smb2: expect FILE_CLOSED on invalid handles in ↵Stefan Metzmacher1-2/+4
SMB2-MULTI-CHANNEL metze
2012-02-29s3: Add a test that makes a chained open break an oplockVolker Lendecke3-0/+296
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 29 01:13:03 CET 2012 on sn-devel-104
2012-02-28s3:torture/test_smb2: test a tree_connect during reauthStefan Metzmacher1-0/+17
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 28 06:58:44 CET 2012 on sn-devel-104
2012-02-28s3:torture/test_smb2: check directory listing during reauthStefan Metzmacher1-0/+72
metze
2012-02-28s3:libsmb:smb2: pass previous session ID to session setup, not previous sessionMichael Adam1-6/+8
We only need the session, and under some circumstances, it might complicate things for the caller to have to cope with the whole structure (talloc...).
2012-02-27s3:torture/test_smb2: show that a session is not valid for path based calls ↵Stefan Metzmacher1-0/+16
during reauth metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Feb 27 16:29:02 CET 2012 on sn-devel-104
2012-02-27s3:torture/test_smb2: show that a session is valid during a multi-leg reauthStefan Metzmacher1-0/+6
metze
2012-02-27s3:torture/test_smb2: fix missleading file name in reauth testStefan Metzmacher1-1/+1
metze
2012-02-27libcli/smb/smbXcli: maintain smb2 channel_signing_key separate from the ↵Stefan Metzmacher1-10/+10
signing_key The signing_key is fix across all channels and is used for session setups on a channel binding. Note: - the last session setup response is signed with the new channel signing key. - the reauth session setups are signed with the channel signing key. It's also not needed to remember the main session key. metze
2012-02-27s3:torture/test_smb2: remove explicit smb2_signing_check_pdu()Stefan Metzmacher1-6/+0
smb2cli_session_set_session_key() already checks the signature and that function really knows the signing key. metze
2012-02-27s3:torture/test_smb2: a reauth doesn't update the session/signing keyStefan Metzmacher1-17/+0
metze
2012-02-24s3-selftest: Verify GK and GF flag behaviourAndrew Bartlett1-0/+26
At least this ensures that the helper has not crashed, it will require a little more to ensure that the values are correct. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 24 03:53:38 CET 2012 on sn-devel-104
2012-02-24s3-selftest: run ntlm_auth against winbindd in make testAndrew Bartlett1-3/+8
2012-02-22s3-vfstest: Return an error code if cmd failedVolker Lendecke1-4/+5
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 22 23:56:18 CET 2012 on sn-devel-104
2012-02-22s3-vfstest: Fake smb_requestsVolker Lendecke2-0/+28
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 22 17:32:28 CET 2012 on sn-devel-104
2012-02-22s3-vfstest: Initialize some moreVolker Lendecke1-0/+4