← Back to team overview

enterprise-support team mailing list archive

[Bug 1873561] [NEW] smbclient //192.168.178.1/share1 fails on SMB1 resource

 

Public bug reported:

$ smbclient --user=ftpuser //192.168.178.1/share1
protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED

Remvark, with SMB2 resources, the command runs O.K.

Remark: "I also coult not mount the SMB1 drives with "gio mount smb:",
what works easily with SMB2 drives.

I will attach the log files of the same command with --debuglevel=10 for
Ubuntu 20.04 (beta) and Ubuntu 19.04.

1) Release
$ lsb_release -rd
Description:    Ubuntu 20.04 LTS
Release:        20.04

2) Package
$ apt-cache policy smbclient
smbclient:
  Installed: 2:4.11.6+dfsg-0ubuntu1
  Candidate: 2:4.11.6+dfsg-0ubuntu1
  Version table:
 *** 2:4.11.6+dfsg-0ubuntu1 500
	500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status

3) What should happen:
$ smbclient --user=userName1 //192.168.178.1/share1
Enter WORKGROUP\username1's password: 
smb: \> l # ← "l" = command within smbclient
...
smb: \> # ← End session with ctrl-d

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: smbclient 2:4.11.6+dfsg-0ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-24.28-generic 5.4.30
Uname: Linux 5.4.0-24-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Sat Apr 18 14:06:10 2020
InstallationDate: Installed on 2019-02-17 (426 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
SambaClientRegression: Yes
SourcePackage: samba
UpgradeStatus: Upgraded to focal on 2020-04-05 (13 days ago)

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1873561

Title:
  smbclient //192.168.178.1/share1 fails on SMB1 resource

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1873561/+subscriptions


Follow ups