summaryrefslogtreecommitdiffstats
path: root/source4/torture/smb2
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:torture:smb2: simplify durable-open.file-position test to only use one ↵Michael Adam2012-09-071-27/+27
| | | | | | I/O and one handle Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: change the durable-open.file-position test to use one ↵Michael Adam2012-09-071-17/+27
| | | | | | | | | connection only And do a tcp disconnect followed by a session reconnect instead of immediately using the already opened second connection. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: fix durable-v2-open.reopen2 to pass against windowsMichael Adam2012-09-071-1/+1
| | | | | | The DH2Q response blob is not sent upon successful durable handle v2 reconnect. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: simplify the durable-v2.reopen2 test (using only one i/o ↵Michael Adam2012-09-071-51/+52
| | | | | | struct) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: simplify the durable-v2-open.reopen1 testMichael Adam2012-09-071-20/+21
| | | | | | only use one smb2_create i/o struct and store the create GUID centrally Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: in the durable-v2-reopen1 test, use a minimal requestMichael Adam2012-09-071-2/+1
| | | | | | don't copy the old request, but only set the necessary fields Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: fix cut'n'paste error in the durable-v2-open.reopen2 testMichael Adam2012-09-071-3/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: fix name of test file in the durable-open.alloc-size testMichael Adam2012-09-071-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: add a test for alloc size behaviour under durable reconnectMichael Adam2012-09-071-0/+154
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:torture/smb2: add smb2.durable-v2-open.reopen{1,2} testsStefan Metzmacher2012-09-071-0/+184
| | | | | | | They show that only the content of the DH2C request matches and all other values in the SMB2 Create request are ignored. metze
* s4:torture/smb2: check that the server should ignore the fname in a DHnC requestStefan Metzmacher2012-09-071-1/+2
| | | | metze
* s4:torture/smb2: don't expect a DHnQ response in a DHnC requestStefan Metzmacher2012-09-071-4/+0
| | | | | | | This is fixed in Windows 2012 and matches the [MS-SMB2] documentation now. metze
* s4-torture: Test for #9058Volker Lendecke2012-08-271-0/+72
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Aug 27 17:43:09 CEST 2012 on sn-devel-104
* libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher2012-07-253-0/+5
| | | | metze
* s4:libcli/smb2: remove unused smb2_session->pidStefan Metzmacher2012-07-251-4/+0
| | | | metze
* s4:libcli/smb2: remove unused elements from smb2_treeStefan Metzmacher2012-07-252-7/+3
| | | | metze
* s4:torture/smb2: create temporary smbXcli_tcon/session structures instead of ↵Stefan Metzmacher2012-07-251-15/+50
| | | | | | changing them metze
* s4:torture/smb2: use smb2cli_tcon_capabilities()Stefan Metzmacher2012-07-251-2/+6
| | | | metze
* s4:libcli/smb2: setup a smbXcli_tcon for each smb2_treeStefan Metzmacher2012-07-242-0/+18
| | | | metze
* s4:torture/smb2: run smb2.session.reauth5 in a subdirectoryStefan Metzmacher2012-06-221-14/+77
| | | | | | | | | This way we can give anonymous full access to the directory. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 22 11:30:06 CEST 2012 on sn-devel-104
* s4:torture/smb2: add smb2.durable-open.lock-oplockStefan Metzmacher2012-06-221-0/+79
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 22 03:37:54 CEST 2012 on sn-devel-104
* s4:torture/smb2: rename smb2.durable-open.lock to smb2.durable-open.lock-leaseStefan Metzmacher2012-06-221-4/+4
| | | | metze
* s4:torture/smb2: add smb2.durable-open.delete_on_close1Stefan Metzmacher2012-06-211-2/+126
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jun 21 10:19:00 CEST 2012 on sn-devel-104
* s4:torture: fix use of non-existent word (existant)Michael Adam2012-06-122-5/+5
|
* s4:torture report connection error via torture_failChristian Ambach2012-05-291-1/+8
| | | | | | | | | to make smbtorture report the error instead of complaining about missing torture_ call Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 29 13:57:42 CEST 2012 on sn-devel-104
* s4:torture: add smb2.session.expire1Stefan Metzmacher2012-05-171-1/+116
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 17 21:53:11 CEST 2012 on sn-devel-104
* s4:torture: add smb2.session.reconnect2 testStefan Metzmacher2012-05-171-0/+64
| | | | | | | This uses just one transport connection and demonstrates the implicit logoff of the previous session. metze
* s4:torture: rename smb2.session.reconnect to smb2.session.reconnect1Stefan Metzmacher2012-05-171-2/+2
| | | | metze
* s4:torture: remove unused vars in smb2.session.reauth*Stefan Metzmacher2012-05-171-2/+2
| | | | metze
* s4:torture: add a new smb2.session.reauth5 test: rename after reauth to anon ↵Michael Adam2012-05-081-0/+228
| | | | - fails
* s4:torture: add a new smb2.session.reauth4 test: setting security descriptor ↵Michael Adam2012-05-081-0/+122
| | | | after reauth to anon - works
* s4:torture: add a new smb2.session.reauth3 test - getting security descriptorMichael Adam2012-05-031-0/+100
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu May 3 17:38:14 CEST 2012 on sn-devel-104
* s4:torture:smb2: add a session.reauth2 test.Michael Adam2012-04-181-0/+93
| | | | | | | | | | | * open a file, * reauth anonymously * try to access file via handle * reauth as user * try to access file again Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Apr 18 16:53:35 CEST 2012 on sn-devel-104
* s4:torture:smb2: rename the file in the session-reauth1 test more systematicallyMichael Adam2012-04-181-1/+1
| | | | The original name seems to have come in via copy and paste.
* s4:torture:smb2: rename the session_reauth test to session_reauth1Michael Adam2012-04-181-2/+2
| | | | More tests reauth? will follow...
* s4:torture/smb2: avoid hanging in smb2.session.reconnect against sambaStefan Metzmacher2012-03-081-8/+12
| | | | | | | | Now we fail the test directly instead of waiting for oplocks to timeout. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> metze
* s4:torture: smb2.getinfo test return status of stream creationGregor Beck2012-03-071-2/+6
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture/smb2: add simple smb2.session.reauth testGregor Beck2012-03-071-0/+57
| | | | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture make a suite for smb2.*scanGregor Beck2012-03-062-8/+19
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: print ntstatus on failure of setup complex file in smb2 ↵Gregor Beck2012-03-061-3/+6
| | | | | | setinfo/getinfo scan Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: use different filenames for smb2 setinfo and getinfo scanGregor Beck2012-03-061-7/+11
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: cleanup after smb2 setinfo scanGregor Beck2012-03-061-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: cleanup after smb2 getinfo scanGregor Beck2012-03-061-0/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: avoid reporting error on failure of smb2.ioctl testsGregor Beck2012-03-061-148/+79
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: avoid reporting error on failure of smb2.getinfo testGregor Beck2012-03-061-54/+32
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: avoid reporting error on failure of smb2.setinfo testGregor Beck2012-03-061-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: avoid reporting error on failure of smb2.streams testsGregor Beck2012-03-061-11/+14
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: avoid reporting error on failure of smb2.acls testsGregor Beck2012-03-061-1/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: start a testsuite for durable v2 handles: durable and ↵Michael Adam2012-03-033-1/+556
| | | | persistent opens
* s4:libcli:smb2: store the share capabilites in the smb2_tree objectMichael Adam2012-03-031-0/+1
|