enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #05590
[Bug 1598463] [NEW] samba client negotiates down to NT1 instead of up to SMB3_11, doesn't happen with Windows 10 client
Public bug reported:
Clients: Windows 10 Pro 64-bit, Ubuntu 16.04
Client and server samba version:
apt policy samba
samba:
Installed: 2:4.3.9+dfsg-0ubuntu0.16.04.2
Candidate: 2:4.3.9+dfsg-0ubuntu0.16.04.2
Version table:
*** 2:4.3.9+dfsg-0ubuntu0.16.04.2 500
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages
100 /var/lib/dpkg/status
2:4.3.8+dfsg-0ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
What is expected to happen is by default if one makes a connection via
Ubuntu 16.04 using Nautilus or smbclient to Ubuntu 16.04 samba server,
it automatically negotiates to the highest protocol available from the
samba server (SMB3_11), just like it does when connecting from a Windows
10 client.
What happens instead is via Nautilus or smbclient it consistently
negotiates to NT1, making the share useless from a speed perspective
when connecting over ethernet or 802.11ac.
>From the client:
$ smbclient //192.168.0.107/share
On the server:
$ sudo smbstatus
Samba version 4.3.9-Ubuntu
PID Username Group Machine Protocol Version
------------------------------------------------------------------------------
3970 moniker moniker 192.168.0.101 (ipv4:192.168.0.101:49966) NT1
Service pid machine Connected at
-------------------------------------------------------
share 3970 192.168.0.101 Sat Jul 2 11:09:09 2016
No locked files
However, if I modify the smbclient as follows it does negotiate to SMB3_11:
smbclient //192.168.0.107/share -m SMB3_11
>From the server:
sudo smbstatus
Samba version 4.3.9-Ubuntu
PID Username Group Machine Protocol Version
------------------------------------------------------------------------------
3980 moniker moniker 192.168.0.101 (ipv4:192.168.0.101:49968) Unknown (0x0311)
Service pid machine Connected at
-------------------------------------------------------
share 3980 192.168.0.101 Sat Jul 2 11:10:34 2016
No locked files
>From the server:
$ smbclient -L localhost
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.3.9-Ubuntu]
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
IPC$ IPC IPC Service (pc server (Samba, Ubuntu))
share Disk
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.3.9-Ubuntu]
Server Comment
--------- -------
PC pc server (Samba, Ubuntu)
Workgroup Master
--------- -------
WORKGROUP
The smb.conf file is default with a handful of changes below, not relating to protocol (removing them doesn't change anything). Also, declaring min protocol to be SMB3 causes the share not to be visible by Nautilus:
[global]
encrypt passwords = true
server signing = mandatory
inherit acls = yes
inherit owner = yes
inherit permissions = yes
[share]
path = /home/moniker/Desktop/share
read only = no
guest ok = yes
writeable = yes
browseable = yes
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: samba 2:4.3.9+dfsg-0ubuntu0.16.04.2
ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13
Uname: Linux 4.4.0-28-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: GNOME-Flashback:Unity
Date: Sat Jul 2 11:05:33 2016
InstallationDate: Installed on 2015-12-18 (196 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SambaClientRegression: No
SourcePackage: samba
UpgradeStatus: Upgraded to xenial on 2016-01-20 (164 days ago)
** Affects: samba (Ubuntu)
Importance: High
Status: Triaged
** Tags: amd64 apport-bug xenial
--
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/1598463
Title:
samba client negotiates down to NT1 instead of up to SMB3_11, doesn't
happen with Windows 10 client
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1598463/+subscriptions
Follow ups