mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
f0e5537834
In order to allow replays of requests on a channel failure, we should not cancel pending requests, the strategie that seems to make windows clients happy is to let the requests running and return NT_STATUS_FILE_NOT_AVAILABLE as long as the original request is still pending. Here we introduce xconn->transport.shutdown_wait_queue, this is used to keep the xconn alive for the lifetime of pending requests. Now we only cancel pending requests if the disconnected connection is the last channel for a session. In that case smbXsrv_session_remove_channel() and smb2srv_session_shutdown_send() will take care of it. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14449 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
30 lines
1.7 KiB
Plaintext
30 lines
1.7 KiB
Plaintext
# These tests demonstrate the broken Windows behavior
|
|
# and check for ACCESS_DENIED instead of FILE_NOT_AVAILABLE
|
|
# See https://bugzilla.samba.org/show_bug.cgi?id=14449
|
|
^samba3.smb2.replay.dhv2-pending1n-vs-violation-lease-close-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending1n-vs-violation-lease-ack-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending1n-vs-oplock-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending1n-vs-lease-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending1l-vs-oplock-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending1l-vs-lease-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending1o-vs-oplock-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending1o-vs-lease-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending2n-vs-oplock-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending2n-vs-lease-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending2l-vs-oplock-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending2l-vs-lease-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending2o-vs-oplock-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending2o-vs-lease-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending3n-vs-oplock-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending3n-vs-lease-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending3l-vs-oplock-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending3l-vs-lease-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending3o-vs-oplock-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending3o-vs-lease-windows.nt4_dc
|
|
^samba3.smb2.replay.dhv2-pending1n-vs-oplock-windows.ad_dc
|
|
^samba3.smb2.replay.dhv2-pending1o-vs-oplock-windows.ad_dc
|
|
^samba3.smb2.replay.dhv2-pending2n-vs-oplock-windows.ad_dc
|
|
^samba3.smb2.replay.dhv2-pending2o-vs-oplock-windows.ad_dc
|
|
^samba3.smb2.replay.dhv2-pending3n-vs-oplock-windows.ad_dc
|
|
^samba3.smb2.replay.dhv2-pending3o-vs-oplock-windows.ad_dc
|