summaryrefslogtreecommitdiff
path: root/source3/torture/test_smb2.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-19s3:torture: make use of samba_tevent_context_init()Stefan Metzmacher1-6/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2012-07-25libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher1-0/+4
metze
2012-07-25s3:libsmb: remove unused cli_state->smb2.pidStefan Metzmacher1-9/+0
metze
2012-07-25s3:libsmb: remove cli_state->smb2.tidStefan Metzmacher1-27/+18
metze
2012-07-25s3:torture/test_smb2: make a copy of smbXcli_tconStefan Metzmacher1-0/+32
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Jul 25 00:10:47 CEST 2012 on sn-devel-104
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_query_directory*()Stefan Metzmacher1-4/+4
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_query_info*()Stefan Metzmacher1-5/+5
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_set_info*()Stefan Metzmacher1-2/+2
metze
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-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-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-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-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-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
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-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 Metzmacher1-0/+213
metze
2011-11-24s3:torture: add SMB2-MULTI-CHANNEL testStefan Metzmacher1-0/+256
metze
2011-11-24s3:torture: add a new test SMB2-TCON-DEPENDENCEMichael Adam1-0/+104
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-24s3:torture:smb2: add SMB2-SESSION-RECONNECT testMichael Adam1-0/+389
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: replace smb2cli_sesssetup_ntlmssp() with the more generic ↵Stefan Metzmacher1-2/+6
cli_session_setup() metze
2011-11-24s3:torture: add SMB2-NEGPROT testStefan Metzmacher1-0/+63
metze
2011-11-24s3:SMB2-BASIC: use smbXcli_negprot() directlyStefan Metzmacher1-2/+4
metze