Günther Deschner [Mon, 18 Sep 2017 23:17:33 +0000 (01:17 +0200)]
s4-torture: move torture_wait_for_oplock_break() to central oplock handler.
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Günther Deschner [Wed, 28 Sep 2016 19:23:20 +0000 (21:23 +0200)]
s4-torture: move oplock break handler out of the replay testsuite.
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Günther Deschner [Tue, 19 Sep 2017 01:07:17 +0000 (03:07 +0200)]
TODO: document what new multichannel test needs to do§
Günther Deschner [Thu, 21 Jan 2016 16:07:46 +0000 (17:07 +0100)]
WIP s4-torture: add new test for multichannel on multiple nics.
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Günther Deschner [Tue, 19 Jan 2016 14:39:34 +0000 (15:39 +0100)]
s4-torture: add test for interface information retrieval for multichannel.
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Günther Deschner [Tue, 19 Jan 2016 13:55:03 +0000 (14:55 +0100)]
s4-torture: add new smb2 multichannel suite skeleton.
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Günther Deschner [Wed, 20 Sep 2017 17:19:37 +0000 (19:19 +0200)]
s4-torture: include torture/util.h in lease break handler
Günther Deschner [Fri, 22 Sep 2017 00:31:32 +0000 (02:31 +0200)]
s4-torture: add torture_sleep()
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Günther Deschner [Tue, 19 Jan 2016 13:53:20 +0000 (14:53 +0100)]
s4-torture: simplify smb2_util_oplock_level(), it's always called with only one option.
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Günther Deschner [Fri, 30 Sep 2016 03:03:17 +0000 (05:03 +0200)]
s4-torture: remove an CHECK_STATUS macro in the util code.
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Pair-Programmed-With: Jose A. Rivera <jarrpa@samba.org>
Günther Deschner [Tue, 19 Sep 2017 01:24:24 +0000 (03:24 +0200)]
s4-torture: use torture_assert_ntstatus_equal_goto in replay test
Günther Deschner [Mon, 18 Sep 2017 22:06:30 +0000 (00:06 +0200)]
testing session reauth5
Günther Deschner [Fri, 9 Sep 2016 15:47:36 +0000 (17:47 +0200)]
more explanations
Günther Deschner [Tue, 6 Sep 2016 16:09:15 +0000 (18:09 +0200)]
pass down smbXsrv_client
Günther Deschner [Tue, 6 Sep 2016 11:57:31 +0000 (13:57 +0200)]
metze dixit
Günther Deschner [Mon, 5 Sep 2016 17:00:19 +0000 (19:00 +0200)]
Multi-Channel: break resend -- big todo / q comment
Günther Deschner [Fri, 2 Sep 2016 15:53:06 +0000 (17:53 +0200)]
print SIOCOUTQ counter before and after the writev
debug 0/10
SQ: moving SIOCOUTQ printout ...
Michael Adam [Fri, 26 Aug 2016 17:07:26 +0000 (19:07 +0200)]
TODO.multi-channel: some ideas for oplock break retry
Michael Adam [Fri, 26 Aug 2016 11:55:13 +0000 (13:55 +0200)]
smbXsrv: remove an old comment - multi-channel support is now available
Signed-off-by: Michael Adam <obnox@samba.org>
Günther Deschner [Fri, 15 Jan 2016 17:09:40 +0000 (18:09 +0100)]
wip
Stefan Metzmacher [Thu, 12 Jun 2014 14:35:38 +0000 (16:35 +0200)]
Revert "HACK ctdb/ib"
This reverts commit
e78fe68ecd623fd14e3047c89cdf2a69625a3702.
Stefan Metzmacher [Tue, 20 May 2014 07:00:17 +0000 (09:00 +0200)]
HACK ctdb/ib
Michael Adam [Thu, 14 Jan 2016 00:36:57 +0000 (01:36 +0100)]
-- 00-STEPS-multi-channel: STEPZZ - test changes ---
Michael Adam [Fri, 8 May 2015 08:54:56 +0000 (10:54 +0200)]
TMP:DEBUG: s3:torture:smb2 add DEBUG
Michael Adam [Mon, 2 Mar 2015 23:00:26 +0000 (00:00 +0100)]
selftest: run the SMB2-MULTI-CHANNEL test
Michael Adam [Tue, 19 Jan 2016 08:25:19 +0000 (09:25 +0100)]
Revert "LATER? torture_oplock_close_handler"
This reverts commit
1d6a47735184d46d9f0e05418d256f31cc37f475.
Stefan Metzmacher [Wed, 3 Sep 2014 18:41:57 +0000 (20:41 +0200)]
LATER? torture_oplock_close_handler
Stefan Metzmacher [Thu, 7 Aug 2014 06:48:32 +0000 (08:48 +0200)]
STEP99?? HACK source4/torture/smb2/session.c force multi-channel
Stefan Metzmacher [Thu, 7 Aug 2014 06:49:07 +0000 (08:49 +0200)]
STEP99?? Revert "HACK try max channels (windows allows 32)"
This reverts commit
ee00439346dfbba9a59aff8414ba5d241718d1f0.
Stefan Metzmacher [Wed, 25 Jun 2014 14:11:25 +0000 (16:11 +0200)]
STEP99?? torture: HACK try max channels (windows allows 32)
Stefan Metzmacher [Wed, 25 Jun 2014 07:05:43 +0000 (09:05 +0200)]
STEP99?? Revert "torture: HACK bind on existing connection REQUEST_NOT_ACCEPTED..."
This reverts commit
88f82b3849434a4c692c499ea19452c6f7835465.
Stefan Metzmacher [Tue, 24 Jun 2014 18:20:57 +0000 (20:20 +0200)]
STEP99?? torture: HACK bind on existing connection REQUEST_NOT_ACCEPTED...
Michael Adam [Wed, 8 Apr 2015 08:14:59 +0000 (10:14 +0200)]
Revert "STEP99?? only smb2.session.bind1"
This reverts commit
329e67440fcbb5ca90e8c9ed1ff0abfe182ef736.
Stefan Metzmacher [Tue, 24 Jun 2014 18:05:09 +0000 (20:05 +0200)]
STEP99?? torture: HACK only smb2.session.bind1
Stefan Metzmacher [Mon, 23 Jun 2014 09:40:53 +0000 (11:40 +0200)]
STEP92? Revert "hacks..."
This reverts commit
967ec1409328c39450a6d3f54b287830cccca0f9.
Stefan Metzmacher [Mon, 23 Jun 2014 09:35:29 +0000 (11:35 +0200)]
STEP92? hacks...
Michael Adam [Thu, 14 Jan 2016 00:36:23 +0000 (01:36 +0100)]
-- 00-STEPS-multi-channel: STEPYY - client changes ---
Michael Adam [Wed, 23 Sep 2015 10:20:01 +0000 (12:20 +0200)]
TODO: print session id in smbstatus
Stefan Metzmacher [Wed, 14 Aug 2013 08:47:38 +0000 (10:47 +0200)]
LATER/DISCUSS: s3:client: add progress reporting to cli_pull/cli_push
DISCUSS: d_printf vs. DEBUG
DISCUSS: timeval vs. time_mono
Günther Deschner [Fri, 30 Sep 2016 03:11:28 +0000 (05:11 +0200)]
Revert "TMP: DEBUG libcli/smb/smbXcli_base.c"
This reverts commit
ad625722376a2ac1fbf1382845212a4533d6f17a.
Michael Adam [Tue, 5 May 2015 12:47:35 +0000 (14:47 +0200)]
TMP: DEBUG libcli/smb/smbXcli_base.c
Stefan Metzmacher [Thu, 6 Feb 2014 05:56:46 +0000 (06:56 +0100)]
STEP94 Revert "TODO doesn't pass tests??? libcli: use LOCK_ORDER_1 for schannel_store.tdb"
This reverts commit
0af53545ddeeba4bef6bb8e474e96c397f3b9511.
Michael Adam [Tue, 28 Jan 2014 12:03:26 +0000 (13:03 +0100)]
STEP94a TODO doesn't pass tests??? libcli: use LOCK_ORDER_1 for schannel_store.tdb
I.e. don't allow any other simultaneous locks.
Signed-off-by: Michael Adam <obnox@samba.org>
Stefan Metzmacher [Fri, 31 Oct 2014 05:53:24 +0000 (06:53 +0100)]
Revert "HACKS validate SMB3.10"
This reverts commit
585d0d338391550e927d091c8e7ba4835cf65c32.
Stefan Metzmacher [Mon, 6 Oct 2014 14:26:09 +0000 (16:26 +0200)]
HACKS validate SMB3.10
Stefan Metzmacher [Mon, 6 Oct 2014 15:04:53 +0000 (17:04 +0200)]
Revert "HACKS SMB 2.00"
This reverts commit
02782272de68dbda607b5fce0038ef44febda326.
Stefan Metzmacher [Mon, 6 Oct 2014 14:25:53 +0000 (16:25 +0200)]
HACKS SMB 2.00
Michael Adam [Thu, 14 Jan 2016 00:35:41 +0000 (01:35 +0100)]
-- 00-STEPS-multi-channel: STEPXX - server changes ---
Michael Adam [Mon, 6 Oct 2014 14:29:58 +0000 (16:29 +0200)]
TMP init
Stefan Metzmacher [Wed, 6 Aug 2014 15:00:27 +0000 (17:00 +0200)]
Revert "07MSG: DEBUG: rec_dup debug"
This reverts commit
43ee456be5ecbf5248a4bf69f378dceeed484907.
Stefan Metzmacher [Tue, 24 Jun 2014 16:13:00 +0000 (18:13 +0200)]
07MSG: DEBUG: rec_dup debug
Michael Adam [Tue, 23 Sep 2014 02:10:02 +0000 (04:10 +0200)]
TMP: smbd. more debug multichannel
Michael Adam [Tue, 23 Sep 2014 02:08:29 +0000 (04:08 +0200)]
TMP s3:smbd: debug msg
Stefan Metzmacher [Fri, 5 Sep 2014 22:11:03 +0000 (00:11 +0200)]
HACK FSCTL_LMR_REQ_RESILIENCY...
Stefan Metzmacher [Mon, 15 Sep 2014 00:16:57 +0000 (02:16 +0200)]
Revert "TODO: smb_request_done() aio..."
This reverts commit
267d79bb8a9d448bb4e5df9054d7698fdbba9e61.
Stefan Metzmacher [Wed, 11 Jun 2014 07:45:10 +0000 (09:45 +0200)]
Revert "TODO: reply_outbuf_ex"
This reverts commit
143f542cd2d2f2a6467f7632d68c5eae4663e27c.
Stefan Metzmacher [Wed, 11 Jun 2014 07:44:51 +0000 (09:44 +0200)]
TODO: reply_outbuf_ex
Stefan Metzmacher [Wed, 11 Jun 2014 07:43:19 +0000 (09:43 +0200)]
TODO: smb_request_done() aio...
Stefan Metzmacher [Thu, 7 Aug 2014 06:48:08 +0000 (08:48 +0200)]
DEBUG smbXsrc_session
Stefan Metzmacher [Wed, 18 Jun 2014 14:34:01 +0000 (16:34 +0200)]
STEP92? TODO/HACK; SMB2_OP_NEGPROT allowed_flags ...
Michael Adam [Mon, 25 Jan 2016 23:24:57 +0000 (00:24 +0100)]
Revert "STEPXX: tcp ack... doesn't work for unix..."
This reverts commit
6b24b57d6a2db5948dd906f642ea5bdceee1d994.
Stefan Metzmacher [Mon, 22 Sep 2014 01:19:20 +0000 (03:19 +0200)]
STEPXX: tcp ack... doesn't work for unix...
Stefan Metzmacher [Thu, 18 Sep 2014 19:24:13 +0000 (21:24 +0200)]
STEPXX: TODO: oplock break tcp ack...
Stefan Metzmacher [Tue, 24 Jun 2014 16:12:41 +0000 (18:12 +0200)]
STEPXX: STEP95? exit_common no panic
Günther Deschner [Wed, 20 Jan 2016 16:42:12 +0000 (17:42 +0100)]
STEPXX: HACK:TMP: smb2_negprot: enable multi-channel by default
Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Michael Adam [Wed, 20 Jan 2016 23:20:45 +0000 (00:20 +0100)]
--- 00-STEPS-multi-channel: STEP20 - capabilites announcement ---
Michael Adam [Wed, 20 Jan 2016 18:06:23 +0000 (19:06 +0100)]
STEP20 - TODO: LATER - s3:smb2_tcon: Add branch cache flags
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Michael Adam [Wed, 20 Jan 2016 23:25:37 +0000 (00:25 +0100)]
STEP20 - TODO smb2_tcon: report share as scale out if 'scale out share = yes'
TODO: behavioural changes
Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Michael Adam [Wed, 20 Jan 2016 23:25:37 +0000 (00:25 +0100)]
STEP20 - TODO smb2_tcon: report share as CA if 'continuously available share = yes'
TODO: Need to add change in behaviour
Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Michael Adam [Wed, 20 Jan 2016 23:25:37 +0000 (00:25 +0100)]
STEP20 - TODO smb2_tcon: report share as cluster share if "cluster share = true"
TODO: No further behaviour change yet...
Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Michael Adam [Wed, 20 Jan 2016 17:57:36 +0000 (18:57 +0100)]
STEP20 - param: add share parameter "scale out share"
Signed-off-by: Michael Adam <obnox@samba.org>
Michael Adam [Wed, 20 Jan 2016 17:56:09 +0000 (18:56 +0100)]
STEP20 - param: add share parameter "cluster share"
Signed-off-by: Michael Adam <obnox@samba.org>
Michael Adam [Wed, 20 Jan 2016 17:50:29 +0000 (18:50 +0100)]
STEP20 - param: add share parameter "continuously available share"
Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Michael Adam [Wed, 20 Jan 2016 23:14:25 +0000 (00:14 +0100)]
STEP20 - TODO: s3:smb2_negprot: announce persistent handle support
if 'persistent handles' is set to yes
TODO: interactions with other options
(smb3, durable handles, kernel share modes, kernel oplocks, posix locking)
Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Günther Deschner [Wed, 20 Jan 2016 16:43:22 +0000 (17:43 +0100)]
STEP20 - param: add parameter "persistent handles", defaults to off.
Guenther
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Michael Adam [Fri, 17 Apr 2015 08:28:10 +0000 (10:28 +0200)]
--- 00-STEPS-multi-channel: STEP12 - channel sequence/replay ---
Stefan Metzmacher [Sat, 22 Sep 2012 19:52:13 +0000 (21:52 +0200)]
STEP12? Revert "HACK debug replay/channel_sequence"
This reverts commit
46ce191a9bf9321251ea601a9b3ba7b48c5d5ccb.
Stefan Metzmacher [Thu, 26 Jul 2012 06:23:33 +0000 (08:23 +0200)]
STEP12? Revert "HACK disconnect after 2 writes"
This reverts commit
eaa7023f865be73483a99ff203d1dbfb3e180ef9.
Stefan Metzmacher [Thu, 26 Jul 2012 06:23:10 +0000 (08:23 +0200)]
STEP12? HACK disconnect after 2 writes
Stefan Metzmacher [Thu, 26 Jul 2012 06:22:01 +0000 (08:22 +0200)]
STEP12? HACK debug replay/channel_sequence
Michael Adam [Fri, 17 Apr 2015 08:27:11 +0000 (10:27 +0200)]
--- 00-STEPS-multi-channel: STEP11 - lock sequence/replay detection ---
Michael Adam [Fri, 17 Apr 2015 08:23:42 +0000 (10:23 +0200)]
--- 00-STEPS-multi-channel: STEP05 - session lookup [DEBUG] ---
Stefan Metzmacher [Wed, 25 Jun 2014 07:55:24 +0000 (09:55 +0200)]
STEP05b debug session lookup
Michael Adam [Thu, 7 May 2015 07:23:35 +0000 (09:23 +0200)]
--- 00-STEPS-multi-channel: STEP00 : misc stuff ---
Stefan Metzmacher [Tue, 24 Jun 2014 16:10:51 +0000 (18:10 +0200)]
STEP02? use smbXsrv_client_update for >= smb2.1
Stefan Metzmacher [Fri, 23 May 2014 13:00:58 +0000 (15:00 +0200)]
selftest: mark samba3.base.delaywrite as flakey
We're getting failures like this, but also others
[353/1594 in 23m14s] samba3.base.delaywrite(plugin_s4_dc)
Running test_delayed_write_update1b
Initial write time Wed May 21 03:27:02 2014 CEST
write time Wed May 21 03:27:03 2014 CEST
write time Wed May 21 03:27:03 2014 CEST
write time Wed May 21 03:27:03 2014 CEST
write time Wed May 21 03:27:03 2014 CEST
write time Wed May 21 03:27:03 2014 CEST
write time Wed May 21 03:27:03 2014 CEST
write time Wed May 21 03:27:03 2014 CEST
write time Wed May 21 03:27:03 2014 CEST
write time Wed May 21 03:27:03 2014 CEST
Server updated write time on close (correct)
UNEXPECTED(failure): samba3.base.delaywrite.update of write time using
SET_END_OF_FILE(plugin_s4_dc)
REASON: _StringException: _StringException: After SET_END_OF_FILE truncate
server updated write_time after 0.11 seconds(1 sec == 0.25)(wrong!)
FAILED (1 failures, 0 errors and 0 unexpected successes in 0 testsuites)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Fri, 23 May 2014 12:55:14 +0000 (14:55 +0200)]
selftest: mark samba3.raw.oplock.batch1* as flakey
I saw this a few times:
[432/1598 in 30m19s] samba3.raw.oplock(plugin_s4_dc)
BATCH10: Open with oplock after a non-oplock open should grant level2
write should trigger a break to none
WARNING!: (../source4/torture/raw/oplock.c:1968): wrong value for break_info.count got 0x0 - should be 0x1
Acking to none [0x00] in oplock handler
UNEXPECTED(failure): samba3.raw.oplock.batch10(plugin_s4_dc)
REASON: _StringException: _StringException: (../source4/torture/raw/oplock.c:1969): wrong value for break_info.fnum got 0x0 - should be 0x6490
FAILED (1 failures, 0 errors and 0 unexpected successes in 0 testsuites)
or:
[433/1594 in 38m13s] samba3.raw.oplock(plugin_s4_dc)
BATCH11: Test if setpathinfo set EOF breaks oplocks.
Acking to level II [0x01] in oplock handler
WARNING!: (../source4/torture/raw/oplock.c:2046): wrong value for break_info.count got 0x1 - should be 0x2
Acking to none [0x00] in oplock handler
UNEXPECTED(failure): samba3.raw.oplock.batch11(plugin_s4_dc)
REASON: _StringException: _StringException: (../source4/torture/raw/oplock.c:2048): wrong value for break_info.level got 0x1 - should be 0x0
FAILED (1 failures, 0 errors and 0 unexpected successes in 0 testsuites)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Michael Adam [Fri, 8 May 2015 09:25:07 +0000 (11:25 +0200)]
Revert "HACK smb2 session setup STATUS_PENDING after 10 secs"
This reverts commit
d3304e9ddce504d6398d3a37dca4e1ccba411e4f.
Stefan Metzmacher [Fri, 8 May 2015 07:17:29 +0000 (09:17 +0200)]
HACK smb2 session setup STATUS_PENDING after 10 secs
Stefan Metzmacher [Fri, 8 May 2015 10:30:00 +0000 (12:30 +0200)]
Revert "TMP: torture:smb2.session: only run bind1 test"
This reverts commit
75db98a26be2b11f35c29459f7ce9d4701e4b051.
Stefan Metzmacher [Fri, 8 May 2015 10:30:00 +0000 (12:30 +0200)]
Revert "HACK only test_session_reconnect1"
This reverts commit
3dbd1092c912f9436e0376250b9c33407672aff9.
Stefan Metzmacher [Fri, 8 May 2015 07:17:13 +0000 (09:17 +0200)]
HACK only test_session_reconnect1
Michael Adam [Tue, 5 May 2015 12:46:55 +0000 (14:46 +0200)]
TMP: torture:smb2.session: only run bind1 test
Stefan Metzmacher [Fri, 8 May 2015 10:29:59 +0000 (12:29 +0200)]
Revert "TMP DEBUG smb2 server"
This reverts commit
60ae322fb176cc32c888262f6eefa744e94445ae.
Michael Adam [Tue, 5 May 2015 12:47:52 +0000 (14:47 +0200)]
Stefan Metzmacher [Fri, 8 May 2015 10:29:59 +0000 (12:29 +0200)]
Revert "TMP: DEBUG libcli/smb/smbXcli_base.c"
This reverts commit
938a99a2e327db1bf3d8fb110449d3b55c8b8f93.
Michael Adam [Tue, 5 May 2015 12:47:35 +0000 (14:47 +0200)]
TMP: DEBUG libcli/smb/smbXcli_base.c
Michael Adam [Mon, 11 Jan 2016 17:30:00 +0000 (18:30 +0100)]
Revert "TODO make it possible to run smb2.session.bind1 test with -U% against IPC$ (windows)"
This reverts commit
f5eaec43d48bb939723500536012951f1730717b.
Stefan Metzmacher [Wed, 9 Sep 2015 14:19:56 +0000 (16:19 +0200)]
TODO make it possible to run smb2.session.bind1 test with -U% against IPC$ (windows)
STATUS_INVALID_PARAMETER is returned
Michael Adam [Fri, 17 Apr 2015 08:25:12 +0000 (10:25 +0200)]
--- 00-STEPS-multi-channel: STEP07b - session bind [DEBUG] ---