summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
AgeCommit message (Collapse)AuthorFilesLines
2012-09-07s4:torture:smb2: simplify the durable-v2-open.reopen1 testMichael Adam1-20/+21
only use one smb2_create i/o struct and store the create GUID centrally Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: in the durable-v2-reopen1 test, use a minimal requestMichael Adam1-2/+1
don't copy the old request, but only set the necessary fields Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: fix cut'n'paste error in the durable-v2-open.reopen2 testMichael Adam1-3/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: fix name of test file in the durable-open.alloc-size testMichael Adam1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: add a test for alloc size behaviour under durable reconnectMichael Adam1-0/+154
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture/smb2: add smb2.durable-v2-open.reopen{1,2} testsStefan Metzmacher1-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
2012-09-07s4:torture/smb2: check that the server should ignore the fname in a DHnC requestStefan Metzmacher1-1/+2
metze
2012-09-07s4:torture/smb2: don't expect a DHnQ response in a DHnC requestStefan Metzmacher1-4/+0
This is fixed in Windows 2012 and matches the [MS-SMB2] documentation now. metze
2012-08-27s4-torture: Test for #9058Volker Lendecke1-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
2012-07-25libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher3-0/+5
metze
2012-07-25s4:libcli/smb2: remove unused smb2_session->pidStefan Metzmacher1-4/+0
metze
2012-07-25s4:libcli/smb2: remove unused elements from smb2_treeStefan Metzmacher2-7/+3
metze
2012-07-25s4:torture/smb2: create temporary smbXcli_tcon/session structures instead of ↵Stefan Metzmacher1-15/+50
changing them metze
2012-07-25s4:torture/smb2: use smb2cli_tcon_capabilities()Stefan Metzmacher1-2/+6
metze
2012-07-24s4:libcli/smb2: setup a smbXcli_tcon for each smb2_treeStefan Metzmacher2-0/+18
metze
2012-06-22s4:torture/smb2: run smb2.session.reauth5 in a subdirectoryStefan Metzmacher1-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
2012-06-22s4:torture/smb2: add smb2.durable-open.lock-oplockStefan Metzmacher1-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
2012-06-22s4:torture/smb2: rename smb2.durable-open.lock to smb2.durable-open.lock-leaseStefan Metzmacher1-4/+4
metze
2012-06-21s4:torture/smb2: add smb2.durable-open.delete_on_close1Stefan Metzmacher1-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
2012-06-12s4:torture: fix use of non-existent word (existant)Michael Adam2-5/+5
2012-05-29s4:torture report connection error via torture_failChristian Ambach1-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
2012-05-17s4:torture: add smb2.session.expire1Stefan Metzmacher1-1/+116
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 17 21:53:11 CEST 2012 on sn-devel-104
2012-05-17s4:torture: add smb2.session.reconnect2 testStefan Metzmacher1-0/+64
This uses just one transport connection and demonstrates the implicit logoff of the previous session. metze
2012-05-17s4:torture: rename smb2.session.reconnect to smb2.session.reconnect1Stefan Metzmacher1-2/+2
metze
2012-05-17s4:torture: remove unused vars in smb2.session.reauth*Stefan Metzmacher1-2/+2
metze
2012-05-08s4:torture: add a new smb2.session.reauth5 test: rename after reauth to anon ↵Michael Adam1-0/+228
- fails
2012-05-08s4:torture: add a new smb2.session.reauth4 test: setting security descriptor ↵Michael Adam1-0/+122
after reauth to anon - works
2012-05-03s4:torture: add a new smb2.session.reauth3 test - getting security descriptorMichael Adam1-0/+100
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu May 3 17:38:14 CEST 2012 on sn-devel-104
2012-04-18s4:torture:smb2: add a session.reauth2 test.Michael Adam1-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
2012-04-18s4:torture:smb2: rename the file in the session-reauth1 test more systematicallyMichael Adam1-1/+1
The original name seems to have come in via copy and paste.
2012-04-18s4:torture:smb2: rename the session_reauth test to session_reauth1Michael Adam1-2/+2
More tests reauth? will follow...
2012-03-08s4:torture/smb2: avoid hanging in smb2.session.reconnect against sambaStefan Metzmacher1-8/+12
Now we fail the test directly instead of waiting for oplocks to timeout. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> metze
2012-03-07s4:torture: smb2.getinfo test return status of stream creationGregor Beck1-2/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-07s4:torture/smb2: add simple smb2.session.reauth testGregor Beck1-0/+57
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture make a suite for smb2.*scanGregor Beck2-8/+19
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: print ntstatus on failure of setup complex file in smb2 ↵Gregor Beck1-3/+6
setinfo/getinfo scan Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: use different filenames for smb2 setinfo and getinfo scanGregor Beck1-7/+11
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: cleanup after smb2 setinfo scanGregor Beck1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: cleanup after smb2 getinfo scanGregor Beck1-0/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: avoid reporting error on failure of smb2.ioctl testsGregor Beck1-148/+79
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: avoid reporting error on failure of smb2.getinfo testGregor Beck1-54/+32
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: avoid reporting error on failure of smb2.setinfo testGregor Beck1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: avoid reporting error on failure of smb2.streams testsGregor Beck1-11/+14
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: avoid reporting error on failure of smb2.acls testsGregor Beck1-1/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-03s4:torture:smb2: start a testsuite for durable v2 handles: durable and ↵Michael Adam3-1/+556
persistent opens
2012-03-03s4:libcli:smb2: store the share capabilites in the smb2_tree objectMichael Adam1-0/+1
2012-03-03s4:torture:smb2: rename some of the durable-handle subtests more systematicallyMichael Adam1-34/+34
2012-03-03s4:torture:smb2:durable_open: update (C)Michael Adam1-0/+1
2012-03-03s4:torture:smb2:durable-open: skip the open-with-lease test on servers ↵Stefan Metzmacher1-0/+6
without lease support Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-03s4:torture:smb2: durable-open: make tables staticMichael Adam1-2/+2