smbclient //192.168.178.1/share1 fails on SMB1 resource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
$ smbclient --user=ftpuser //192.168.
protocol negotiation failed: NT_STATUS_
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.
Candidate: 2:4.11.
Version table:
*** 2:4.11.
500 http://
100 /var/lib/
3) What should happen:
$ smbclient --user=userName1 //192.168.
Enter WORKGROUP\
smb: \> l # ← "l" = command within smbclient
...
smb: \> # ← End session with ctrl-d
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: smbclient 2:4.11.
ProcVersionSign
Uname: Linux 5.4.0-24-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
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)
SambaClientRegr
SourcePackage: samba
UpgradeStatus: Upgraded to focal on 2020-04-05 (13 days ago)
This is expected, see https:/ /www.samba. org/samba/ history/ samba-4. 11.0.html
You need "client min protocol = NT1" in smb.conf or use
--option="client min protocol = NT1" on the commandline.