Public bug reported: Hi, since upgrading to Ubuntu 20.04 I cannot gio mount or otherwise connect to my companies' samba shares due to them requiring the NT1 protocol. Adding client min protocol = NT1 to ~/.smb/smb.conf works, but I need to deploy this to a largish number of managed machines. The file /etc/samba/smb.conf on these machines looks like this:
include = /usr/share/samba/smb.conf include = /usr/share/tait-config/ttde-smb.conf include = /etc/samba/user.conf where /usr/share/samba/smb.conf is the config template shipped with samba itself, /usr/share/tait-config/ttde-smb.conf contains config overrides that are deployed via a locally built and hosted config package (the file itself is not a dpkg config file so will get silently rewritten when we update the package) and finally, individual machines' users can customise the config in /etc/samba/user.conf. Unfortunately adding client min protocol = NT1 only works in the first included file but not the second where we really need this to go. It seems that there is a bug in the included config file parser somewhere. ubuntu-bug requested me to include this information though I'm not sure how relevant it is: seb@eragon:~/Documents/work/Terminals[0]$ smbclient -L localhost Enter WORKGROUP\seb's password: Sharename Type Comment --------- ---- ------- print$ Disk Printer Drivers Home Disk /home on eragon IPC$ IPC IPC Service (eragon server (Samba, Ubuntu)) Reconnecting with SMB1 for workgroup listing. smbXcli_negprot_smb1_done: No compatible protocol selected by server. protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE Unable to connect with SMB1 -- no workgroup available ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: smbclient 2:4.11.6+dfsg-0ubuntu1.4 ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44 Uname: Linux 5.4.0-42-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.8 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Wed Sep 2 19:24:03 2020 EcryptfsInUse: Yes ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_NZ.UTF-8 SHELL=/bin/bash SambaClientRegression: Yes SourcePackage: samba UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: samba (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1893906 Title: smbclient ignores included config files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1893906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs