summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
2012-02-22s3-vfstest: Initialize some moreVolker Lendecke1-0/+4
2012-02-20s3-vfstest: Remove an unused variableVolker Lendecke1-2/+0
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 20 17:01:11 CET 2012 on sn-devel-104
2012-02-19s3: Fix some blank line endingsVolker Lendecke1-3/+3
2012-02-19s3-vfstest: Initialize some moreVolker Lendecke1-0/+12
2012-02-16Rename obscure defined constants.Christopher R. Hertel (crh)1-1/+1
Replaced the undescriptive SMB_PORT1 and SMB_PORT2 defined constants with the slightly more descriptive names NBT_SMB_PORT and TCP_SMB_PORT. Also replaced several hard-coded references to the well-known port numbers (139 and 445, respectively) as appropriate. Small changes to clarify some comments regarding the two transport types. Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Feb 16 08:29:41 CET 2012 on sn-devel-104
2012-02-06lib/util: Add hex_encode_bufVolker Lendecke1-0/+21
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 6 09:15:33 CET 2012 on sn-devel-104
2012-02-02s3-vfstest: Add removexattrVolker Lendecke1-0/+21
2012-02-02s3-vfstest: Add setxattrVolker Lendecke1-0/+27
2012-02-02s3-vfstest: Add listxattrVolker Lendecke1-0/+48
2012-02-02s3-vfstest: Add getxattrVolker Lendecke1-0/+37
2012-02-02s3-vfstest: Fix an uninitialized read in closeVolker Lendecke1-0/+4
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 2 18:00:58 CET 2012 on sn-devel-104
2012-02-02s3-vfstest: Fix a double-free on closing a fileVolker Lendecke1-1/+1
"mem_ctx" will be gone after we leave the routine
2012-02-01s3-vfstest: Correctly initialize the connection pathVolker Lendecke1-0/+2
2012-02-01s3-vfstest: Fix some uninitialized varsVolker Lendecke1-2/+2
2012-02-01s3-vfstest: Fix some pointless staticsVolker Lendecke1-4/+4
2012-02-01s3-vfstest: Fix a typoVolker Lendecke1-1/+1
2012-02-01s3-vfstest: Fix some nonblank line endingsVolker Lendecke2-25/+24
2012-01-18s3: Add a "lock_order" argument to db_openVolker Lendecke1-1/+1
This will be used to enforce a lock hierarchy between the databases. We have seen deadlocks between locking.tdb, brlock.tdb, serverid.tdb and notify*.tdb. These should be fixed by refusing a dbwrap_fetch_locked that does not follow a defined lock hierarchy.
2012-01-09s3-pdbtest: only test trusted domains when pdb backends offers trusted ↵Günther Deschner1-74/+89
domain support. Guenther
2012-01-06s3: Avoid a potential alignment requirement issueVolker Lendecke1-6/+5
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jan 6 18:58:11 CET 2012 on sn-devel-104
2012-01-06s3: Use DELETE_ON_CLOSE instead of unlinkVolker Lendecke1-7/+6
2012-01-06s3-torture convert smb2 test to use auth_generic/gensec for NTLMSSPAndrew Bartlett1-67/+101
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jan 6 12:09:12 CET 2012 on sn-devel-104
2012-01-06s3:SMB2-SESSION-RECONNECT: also expect NETWORK_NAME_DELETED is signing isn't ↵Stefan Metzmacher1-1/+2
used metze
2012-01-05Fix the local-memcache test for 64-bitVolker Lendecke1-1/+1
The memcache test walks the purge functionality. The maximum memcache size also takes all memcache internal headers into account. Those headers contain pointers, so on 64-bit they take more space... Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jan 5 22:01:00 CET 2012 on sn-devel-104
2012-01-05s3: Add a test for proper brlock cleanupVolker Lendecke3-0/+89
We need to improve the server here. Maybe we should validate the brlock entry whenever we detect a read/write being blocked from locking? This is not our hot code path anyway, and it would gain us significant robustness. The code might become quite a bit simpler as well.
2012-01-05s3: Clarify what CLEANUP1 doesVolker Lendecke1-1/+2
2012-01-05s3: Add a test excercising the share mode cleanup routineVolker Lendecke3-0/+71
2012-01-03s3: Fix a cut&paste errorVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jan 3 16:57:44 CET 2012 on sn-devel-104
2012-01-03s3: Fix a typoVolker Lendecke1-1/+1
2011-12-22s3:torture/test_smb2: also try PROTOCOL_SMB2_24Stefan Metzmacher1-6/+9
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 22 17:47:17 CET 2011 on sn-devel-104
2011-12-15s3:smbd: pass smbd_server_connection and a snumused function pointer to ↵Stefan Metzmacher1-1/+1
reload_services() metze
2011-12-13s3:vfstest: reload_services() doesn't need a messaging_contextStefan Metzmacher1-1/+1
It's only used to get the global smbd_server_connection, which is used in conn_snum_used() via lp_killunused(). But there we don't need it, as we don't have any tree connects at startup time. metze
2011-12-12s3: Remove a bunch of calls to procid_self()Volker Lendecke1-1/+1
All callers to messaging_[re]init only used procid_self()
2011-12-12s4-lsarpc handle more info levels in SetInfoTrustedDomain callsAndrew Bartlett1-1/+1
This uses the very helpful conversion functions written for the s3 lsa server and places these in common. Andrew Bartlett
2011-12-03Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()Jeremy Allison9-106/+106
with a call that uses NTCreateX in preference to OpenAndX.
2011-11-24s3:torture: test smb2cli_logoff and smb2cli_tdisStefan Metzmacher1-0/+37
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 24 20:36:31 CET 2011 on sn-devel-104
2011-11-24s3:torture: add SMB2-SESSION-REAUTHStefan Metzmacher3-0/+215
metze
2011-11-24s3:torture: add SMB2-MULTI-CHANNEL testStefan Metzmacher3-0/+258
metze
2011-11-24s3:torture: add a new test SMB2-TCON-DEPENDENCEMichael Adam3-0/+106
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-24s3:torture:smb2: add SMB2-SESSION-RECONNECT testMichael Adam3-0/+391
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-24s3:torture: use cli_tree_connect() instead of smb2cli_tcon()Stefan Metzmacher1-2/+2
metze
2011-11-24s3:torture: make use of cli_tree_connect()Stefan Metzmacher3-9/+9
metze
2011-11-24s3:torture: replace smb2cli_sesssetup_ntlmssp() with the more generic ↵Stefan Metzmacher1-2/+6
cli_session_setup() metze
2011-11-24s3:torture: add SMB2-NEGPROT testStefan Metzmacher3-0/+65
metze
2011-11-24s3:SMB2-BASIC: use smbXcli_negprot() directlyStefan Metzmacher1-2/+4
metze
2011-11-16s3-torture: remove all cli_nt_error() calls in tortureBjörn Baumbach1-12/+11
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-16s3-torture: replace cli_errstr() with nt_errstr()Björn Baumbach1-6/+10
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-03s3:torture: s/Undefined/SMB_SIGNING_DEFAULT/ s/Required/SMB_SIGNING_REQUIRED/Stefan Metzmacher4-8/+8
metze
2011-11-03s3:torture: let SMB2-BASICS work against w2k8r2 and win8pre0Stefan Metzmacher1-10/+24
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 3 09:44:59 CET 2011 on sn-devel-104
2011-10-28s3-torture Remove t_stringoverflow as fstrcpy now uses strlcpyAndrew Bartlett1-23/+0
Because we no longer use safe_strcpy() internally, we no longer have a mode where we write to the end of the buffer in developer mode, and so there isn't anything for this test to test. Andrew Bartlett