summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
AgeCommit message (Collapse)AuthorFilesLines
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
2012-02-20s4:torture:smb2: invalidate the handle after the connection has been killedMichael Adam1-0/+1
Not to run into using the old handle with a new tree connect in the error case. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 20 18:34:48 CET 2012 on sn-devel-104
2012-02-20s4:torture: improve comment for the smb2.durable-open.reopen1 testMichael Adam1-0/+1
2012-02-13s4:torture: add another SMB2 rename testChristian Ambach1-0/+130
this mimics Word 2010 saving a file Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Mon Feb 13 18:33:43 CET 2012 on sn-devel-104
2012-02-10s4:torture: add some SMB2 renaming testsChristian Ambach3-1/+843
2012-02-03s4:torture: add a smb2.durable_open.reopen4 testMichael Adam1-0/+89
open a durable handle, logoff, new sessions setup, try durable reopen (fail), open tcon, durable reopen (succeed) Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Feb 3 12:45:34 CET 2012 on sn-devel-104
2012-02-03s4:torture: add a torture_smb2_session_setup() utility functionMichael Adam1-0/+31
2012-02-03s4:torture: add smb2.durable_open test reopen3Michael Adam1-0/+68
Do a durable open, tdis, tree_connect, durable reopen -> fail
2012-02-03s4:torture: add torture_smb2_tree_connect() utility functionMichael Adam1-0/+42
This does a tcon based on an existing session, using the name an host present in the torture context.
2012-02-03s4:torture: add smb2.durable_open test reopen2Michael Adam1-0/+71
durable open, disconnect, new seession, durable reopen
2012-02-03s4:torture: add smb2.durable_open test reopen1Michael Adam1-0/+57
2012-02-03s4:libcli/torture:smb2: change smb2_tree_connect to take a smb2_session ↵Michael Adam1-1/+1
instead of smb2_tree arguement. Only the tree->session is needed. This way it is less confusing. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>