summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
AgeCommit message (Collapse)AuthorFilesLines
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
2012-03-03s4:test:smb2:durable_open: skip lease tests when the server does not support ↵Stefan Metzmacher1-0/+25
leases Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-03s4:torture:smb2:durable_open: remove unused lease variables in the ↵Stefan Metzmacher1-4/+0
open-oplock test Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-01s4:torture/smb2/ioctl.c - quiet format specifier warnings on 32 bitMatthias Dieter Wallnöfer1-5/+6
Achieve this by using platform independent casts.
2012-02-29s4:torture/smb2: remove unused varStefan Metzmacher1-1/+0
metze
2012-02-28s4:torture:smb2:durable-open: fix a silly access-after-free panicMichael Adam1-7/+0
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 28 08:33:44 CET 2012 on sn-devel-104
2012-02-28s4:torture:smb2: add new "session" testsuite starting with a ↵Michael Adam3-1/+145
session.reconnect test
2012-02-28s4:torture:smb2: add durable_open.reopen2a - variant of reopen2 with session ↵Michael Adam1-0/+77
reconnect
2012-02-28s4:torture:smb2: add torture_smb2_connection_ext() that takes previous_sessionMichael Adam1-13/+25
2012-02-28s4:torture:smb2: add previous_session argument to torture_smb2_session_setup()Michael Adam2-2/+6
To allow for doing a session reconnect
2012-02-28s4:libcli:smb2: add a previous session argument to smb2_session_setup_spnego()Michael Adam1-1/+2
So that we can do a session reconnect.
2012-02-27torture: don't check the NOINDEXED bit in attribute comparisonAndrew Tridgell2-1/+2
this bit is dependent on user settings on the filesystem Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2012-02-27s4:torture:smb2:durable-open: prevent using a disconnected handle in reopen4Michael Adam1-0/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 27 03:44:16 CET 2012 on sn-devel-104
2012-02-27s4:torture:smb2:durable-open: introduce new variable for the new sessionMichael Adam1-2/+9
This is to clarify the code.
2012-02-27s4:torture:smb2:durable-open: make a comment more precise in the reopen4 testMichael Adam1-1/+4
2012-02-27s4:torture:smb2:durable_open: use the correct tree in the final close callMichael Adam1-1/+1
2012-02-21s4:torture:smb2: add a durable-open.open-oplock testMichael Adam1-0/+85
this is a variant of the open-lease test that does the initial durable open with a batch oplock instead of a RH lease. This is e.g. useful do analyse a (mis?) behaviour with current windows 8 preview versions, compared to w2k8r2 Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 21 19:51:21 CET 2012 on sn-devel-104
2012-02-21s4:torture:smb2: extend and prettify comment for durable-open.open-lease testMichael Adam1-8/+8
2012-02-21s4:torture:smb2:durable-open: rename the open test to open-leaseMichael Adam1-5/+7
2012-02-21s4:torture:smb2: move some initialization and call to smb2_create together ↵Michael Adam1-2/+2
in durable-open.open test
2012-02-21s4:torture:smb2: fix a typo in the durable-open.open test file nameMichael Adam1-1/+1