summaryrefslogtreecommitdiffstats
path: root/source3/torture
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* s3:torture/test_smb2: test a tree_connect during reauthStefan Metzmacher2012-02-281-0/+17
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 28 06:58:44 CET 2012 on sn-devel-104
* s3:torture/test_smb2: check directory listing during reauthStefan Metzmacher2012-02-281-0/+72
| | | | metze
* s3:libsmb:smb2: pass previous session ID to session setup, not previous sessionMichael Adam2012-02-281-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...).
* s3:torture/test_smb2: show that a session is not valid for path based calls ↵Stefan Metzmacher2012-02-271-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
* s3:torture/test_smb2: show that a session is valid during a multi-leg reauthStefan Metzmacher2012-02-271-0/+6
| | | | metze
* s3:torture/test_smb2: fix missleading file name in reauth testStefan Metzmacher2012-02-271-1/+1
| | | | metze
* libcli/smb/smbXcli: maintain smb2 channel_signing_key separate from the ↵Stefan Metzmacher2012-02-271-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
* s3:torture/test_smb2: remove explicit smb2_signing_check_pdu()Stefan Metzmacher2012-02-271-6/+0
| | | | | | | smb2cli_session_set_session_key() already checks the signature and that function really knows the signing key. metze
* s3:torture/test_smb2: a reauth doesn't update the session/signing keyStefan Metzmacher2012-02-271-17/+0
| | | | metze
* s3-selftest: Verify GK and GF flag behaviourAndrew Bartlett2012-02-241-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
* s3-selftest: run ntlm_auth against winbindd in make testAndrew Bartlett2012-02-241-3/+8
|
* s3-vfstest: Return an error code if cmd failedVolker Lendecke2012-02-221-4/+5
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 22 23:56:18 CET 2012 on sn-devel-104
* s3-vfstest: Fake smb_requestsVolker Lendecke2012-02-222-0/+28
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 22 17:32:28 CET 2012 on sn-devel-104
* s3-vfstest: Initialize some moreVolker Lendecke2012-02-221-0/+4
|
* s3-vfstest: Remove an unused variableVolker Lendecke2012-02-201-2/+0
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 20 17:01:11 CET 2012 on sn-devel-104
* s3: Fix some blank line endingsVolker Lendecke2012-02-191-3/+3
|
* s3-vfstest: Initialize some moreVolker Lendecke2012-02-191-0/+12
|
* Rename obscure defined constants.Christopher R. Hertel (crh)2012-02-161-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
* lib/util: Add hex_encode_bufVolker Lendecke2012-02-061-0/+21
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 6 09:15:33 CET 2012 on sn-devel-104
* s3-vfstest: Add removexattrVolker Lendecke2012-02-021-0/+21
|
* s3-vfstest: Add setxattrVolker Lendecke2012-02-021-0/+27
|
* s3-vfstest: Add listxattrVolker Lendecke2012-02-021-0/+48
|
* s3-vfstest: Add getxattrVolker Lendecke2012-02-021-0/+37
|
* s3-vfstest: Fix an uninitialized read in closeVolker Lendecke2012-02-021-0/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 2 18:00:58 CET 2012 on sn-devel-104
* s3-vfstest: Fix a double-free on closing a fileVolker Lendecke2012-02-021-1/+1
| | | | "mem_ctx" will be gone after we leave the routine
* s3-vfstest: Correctly initialize the connection pathVolker Lendecke2012-02-011-0/+2
|
* s3-vfstest: Fix some uninitialized varsVolker Lendecke2012-02-011-2/+2
|
* s3-vfstest: Fix some pointless staticsVolker Lendecke2012-02-011-4/+4
|
* s3-vfstest: Fix a typoVolker Lendecke2012-02-011-1/+1
|
* s3-vfstest: Fix some nonblank line endingsVolker Lendecke2012-02-012-25/+24
|
* s3: Add a "lock_order" argument to db_openVolker Lendecke2012-01-181-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.
* s3-pdbtest: only test trusted domains when pdb backends offers trusted ↵Günther Deschner2012-01-091-74/+89
| | | | | | domain support. Guenther
* s3: Avoid a potential alignment requirement issueVolker Lendecke2012-01-061-6/+5
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jan 6 18:58:11 CET 2012 on sn-devel-104
* s3: Use DELETE_ON_CLOSE instead of unlinkVolker Lendecke2012-01-061-7/+6
|
* s3-torture convert smb2 test to use auth_generic/gensec for NTLMSSPAndrew Bartlett2012-01-061-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
* s3:SMB2-SESSION-RECONNECT: also expect NETWORK_NAME_DELETED is signing isn't ↵Stefan Metzmacher2012-01-061-1/+2
| | | | | | used metze
* Fix the local-memcache test for 64-bitVolker Lendecke2012-01-051-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
* s3: Add a test for proper brlock cleanupVolker Lendecke2012-01-053-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.
* s3: Clarify what CLEANUP1 doesVolker Lendecke2012-01-051-1/+2
|
* s3: Add a test excercising the share mode cleanup routineVolker Lendecke2012-01-053-0/+71
|
* s3: Fix a cut&paste errorVolker Lendecke2012-01-031-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jan 3 16:57:44 CET 2012 on sn-devel-104
* s3: Fix a typoVolker Lendecke2012-01-031-1/+1
|
* s3:torture/test_smb2: also try PROTOCOL_SMB2_24Stefan Metzmacher2011-12-221-6/+9
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 22 17:47:17 CET 2011 on sn-devel-104
* s3:smbd: pass smbd_server_connection and a snumused function pointer to ↵Stefan Metzmacher2011-12-151-1/+1
| | | | | | reload_services() metze