summaryrefslogtreecommitdiffstats
path: root/source4/torture/smb2
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:torture:smb2: rename some of the durable-handle subtests more systematicallyMichael Adam2012-03-031-34/+34
|
* s4:torture:smb2:durable_open: update (C)Michael Adam2012-03-031-0/+1
|
* s4:torture:smb2:durable-open: skip the open-with-lease test on servers ↵Stefan Metzmacher2012-03-031-0/+6
| | | | | | without lease support Signed-off-by: Michael Adam <obnox@samba.org>
* s4:torture:smb2: durable-open: make tables staticMichael Adam2012-03-031-2/+2
|
* s4:test:smb2:durable_open: skip lease tests when the server does not support ↵Stefan Metzmacher2012-03-031-0/+25
| | | | | | leases Signed-off-by: Michael Adam <obnox@samba.org>
* s4:torture:smb2:durable_open: remove unused lease variables in the ↵Stefan Metzmacher2012-03-031-4/+0
| | | | | | open-oplock test Signed-off-by: Michael Adam <obnox@samba.org>
* s4:torture/smb2/ioctl.c - quiet format specifier warnings on 32 bitMatthias Dieter Wallnöfer2012-03-011-5/+6
| | | | Achieve this by using platform independent casts.
* s4:torture/smb2: remove unused varStefan Metzmacher2012-02-291-1/+0
| | | | metze
* s4:torture:smb2:durable-open: fix a silly access-after-free panicMichael Adam2012-02-281-7/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 28 08:33:44 CET 2012 on sn-devel-104
* s4:torture:smb2: add new "session" testsuite starting with a ↵Michael Adam2012-02-283-1/+145
| | | | session.reconnect test
* s4:torture:smb2: add durable_open.reopen2a - variant of reopen2 with session ↵Michael Adam2012-02-281-0/+77
| | | | reconnect
* s4:torture:smb2: add torture_smb2_connection_ext() that takes previous_sessionMichael Adam2012-02-281-13/+25
|
* s4:torture:smb2: add previous_session argument to torture_smb2_session_setup()Michael Adam2012-02-282-2/+6
| | | | To allow for doing a session reconnect
* s4:libcli:smb2: add a previous session argument to smb2_session_setup_spnego()Michael Adam2012-02-281-1/+2
| | | | So that we can do a session reconnect.
* torture: don't check the NOINDEXED bit in attribute comparisonAndrew Tridgell2012-02-272-1/+2
| | | | | | this bit is dependent on user settings on the filesystem Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:torture:smb2:durable-open: prevent using a disconnected handle in reopen4Michael Adam2012-02-271-0/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 27 03:44:16 CET 2012 on sn-devel-104
* s4:torture:smb2:durable-open: introduce new variable for the new sessionMichael Adam2012-02-271-2/+9
| | | | This is to clarify the code.
* s4:torture:smb2:durable-open: make a comment more precise in the reopen4 testMichael Adam2012-02-271-1/+4
|
* s4:torture:smb2:durable_open: use the correct tree in the final close callMichael Adam2012-02-271-1/+1
|
* s4:torture:smb2: add a durable-open.open-oplock testMichael Adam2012-02-211-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
* s4:torture:smb2: extend and prettify comment for durable-open.open-lease testMichael Adam2012-02-211-8/+8
|
* s4:torture:smb2:durable-open: rename the open test to open-leaseMichael Adam2012-02-211-5/+7
|
* s4:torture:smb2: move some initialization and call to smb2_create together ↵Michael Adam2012-02-211-2/+2
| | | | in durable-open.open test
* s4:torture:smb2: fix a typo in the durable-open.open test file nameMichael Adam2012-02-211-1/+1
|
* s4:torture:smb2: invalidate the handle after the connection has been killedMichael Adam2012-02-201-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
* s4:torture: improve comment for the smb2.durable-open.reopen1 testMichael Adam2012-02-201-0/+1
|
* s4:torture: add another SMB2 rename testChristian Ambach2012-02-131-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
* s4:torture: add some SMB2 renaming testsChristian Ambach2012-02-103-1/+843
|
* s4:torture: add a smb2.durable_open.reopen4 testMichael Adam2012-02-031-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
* s4:torture: add a torture_smb2_session_setup() utility functionMichael Adam2012-02-031-0/+31
|
* s4:torture: add smb2.durable_open test reopen3Michael Adam2012-02-031-0/+68
| | | | Do a durable open, tdis, tree_connect, durable reopen -> fail
* s4:torture: add torture_smb2_tree_connect() utility functionMichael Adam2012-02-031-0/+42
| | | | | This does a tcon based on an existing session, using the name an host present in the torture context.
* s4:torture: add smb2.durable_open test reopen2Michael Adam2012-02-031-0/+71
| | | | durable open, disconnect, new seession, durable reopen
* s4:torture: add smb2.durable_open test reopen1Michael Adam2012-02-031-0/+57
|
* s4:libcli/torture:smb2: change smb2_tree_connect to take a smb2_session ↵Michael Adam2012-02-031-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>
* s4:torture:smb2: talloc_free the right tree structure in secondary_tcon()Michael Adam2012-02-031-1/+1
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: check for success of talloc in secondary_tcon()Michael Adam2012-02-031-0/+4
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2:notify: remove an unused variableMichael Adam2012-02-031-2/+0
|
* s4:torture:smb2:notify: remove an unused variableMichael Adam2012-02-031-2/+0
|
* s4:torture:smb2: remove an unused variable from torture_smb2_setinfo()Michael Adam2012-02-031-2/+0
|
* s4:libcli/smb2: implement on top of smbXcli_conn/reqStefan Metzmacher2011-11-241-9/+10
| | | | metze
* s4:torture/smb2: use tctx->ev as event context for pollingStefan Metzmacher2011-11-243-8/+7
| | | | metze
* s4:torture:smb2: rewrite durable-open.open test to use smb2_*_create functionsMichael Adam2011-11-091-26/+7
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 9 02:36:36 CET 2011 on sn-devel-104
* s4:torture:smb2: rewrite the durable-open.lock test to use smb2_lease_create()Michael Adam2011-11-091-23/+3
|
* s4:torture:smb2: rewrite the durable-open.lease test to use smb2_lease_create()Michael Adam2011-11-091-29/+6
|
* s4:torture:smb2: rewrite the durable-open.oplock test to use ↵Michael Adam2011-11-091-19/+3
| | | | smb2_oplock_create()
* s4:torture:smb2: rewrite the durable-open.file-position test to use ↵Michael Adam2011-11-091-18/+2
| | | | smb2_oplock_create()
* s4:torture:smb2: rewrite the durable-open.open2 test to use ↵Michael Adam2011-11-091-26/+6
| | | | smb2_lease_create_share()
* s4:torture:smb2: rewrite the durable-open.open1 test to use ↵Michael Adam2011-11-091-21/+6
| | | | smb2_oplock_create_share()
* s4:torture:smb2: add smb2_oplock_create_share() that takes sharemode as ↵Michael Adam2011-11-091-2/+8
| | | | parameter