New issue
Advanced search Search tips

Issue 842817 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Oct 10
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

ETIMEDOUT returns when connecting to SMB1 share

Project Member Reported by allenvic@chromium.org, May 14 2018

Issue description

Samba version: 4.8.0

Connecting to an Smb1 share when configured to only accept connections with >=SMB2 returns ETIMEDOUT. The error code should be more descriptive in order to properly report to the user.


 
Components: OS>Systems>Network OS
Project Member

Comment 2 by bugdroid1@chromium.org, May 19 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/c15cf250784260d8c5443b3b416c0b54e9870824

commit c15cf250784260d8c5443b3b416c0b54e9870824
Author: Allen Vicencio <allenvic@chromium.org>
Date: Sat May 19 03:08:41 2018

net-fs/samba: Give descriptive error when connecting to SMB1

When an Smb client configured to only accept >=SMB2 connection connects
to an SMB1-only share, the error code returned was ETIMEDOUT. This
change allows a more descriptive error code to be returned when
establishing connections. The fix is in Samba 4.8.2.

Previous bug report: https://bugzilla.samba.org/show_bug.cgi?id=13419
Patch:
https://github.com/samba-team/samba/commit/795ec751ac5f6e58966385bec25063c4af4f185d

BUG= chromium:842817 
TEST=Connecting to SMB1 share now gives ECONNABORTED
Change-Id: I3ee366a52768a689d1b06cae6b33064ffc3acf61
Reviewed-on: https://chromium-review.googlesource.com/1058036
Commit-Ready: Allen Vicencio <allenvic@chromium.org>
Tested-by: Allen Vicencio <allenvic@chromium.org>
Reviewed-by: Zentaro Kavanagh <zentaro@chromium.org>

[rename] https://crrev.com/c15cf250784260d8c5443b3b416c0b54e9870824/net-fs/samba/samba-4.8.0-r2.ebuild
[modify] https://crrev.com/c15cf250784260d8c5443b3b416c0b54e9870824/net-fs/samba/samba-4.8.0.ebuild
[add] https://crrev.com/c15cf250784260d8c5443b3b416c0b54e9870824/net-fs/samba/files/samba-4.8.0-smb1_error_code.patch

Status: Fixed (was: Untriaged)

Sign in to add a comment