On Mon, Sep 18, 2017 at 1:33 PM, Dale Schroeder < dale at briannassaladdressing.com> wrote:> > > Try the "vers=3.0" option. That's what fixed mine. > >I suspect my old version of cifs-utils doesn't understand that option. Note the output says "vers=3.0,ver=1": mount.cifs --verbose //192.168.254.35/projects /mnt/smb -o vers=3.0,username=tmadmin,domain=example.lan Password: mount.cifs kernel mount options: ip=192.168.254.35,unc=\\192.168.254.35\projects,vers=3.0,ver=1,user=tmadmin,domain=example.lan,pass=****** mount error(13): Permission denied
> On Mon, Sep 18, 2017 at 1:33 PM, Dale Schroeder < > I suspect my old version of cifs-utils doesn't understand that option. Note > the output says "vers=3.0,ver=1":I'd suggest looking at a network trace (wireshark). Assuming it's a SMB version issue: Sounds like your cifs.ko kernel module doesnt support SMB2+? Try using vers=2.0 or vers=2.1. If it's not supported either get a newer kernel or set samba to accept SMB1 connections again. -- Aurélien Aptel / SUSE Labs Samba Team GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
On Tue, Sep 19, 2017 at 12:26 AM, Aurélien Aptel <aaptel at suse.com> wrote:> > Assuming it's a SMB version issue: > Sounds like your cifs.ko kernel module doesnt support SMB2+? Try using > vers=2.0 or vers=2.1. > > If it's not supported either get a newer kernel or set samba to accept > SMB1 connections again.The "vers" option did not work, but you pointed me in the right direction. The release notes for 4.5 say this: "By default, Samba will only allow NTLMv2 via NTLMSSP now..." so I added the option "sec=ntlmssp" and now it works. Thanks!