Control: fixed -1

2017-11-10 18:06 GMT+01:00 wolfgang <rn...@safearea.eu>:
> Package: samba-common
> Version: 2:4.5.12+dfsg-2
> Severity: normal
>
> Dear Maintainer,

Hello,
[...]
> According to the man page: "The value default refers to NT1."
> AFAIK NT1 means SMB1, so the default setting limits the client to SMB1.
> And if the server doesn't support SMB1 the connection doesn't work.
>
> A soulution is to set "client max protocol = SMB3" in /etc/samba/smb.conf (or 
> in ~/.smb/smb.conf.append).

Yes.

> However this only works if samba-common is installed. In my case it wasn't 
> installed.
> I think Thunar doesn't need it since it uses libsmbclient.

You only need a two lines smb.conf (created by hand, without samba-common):
  [global]
  client max protocol = SMB3

> So for network shares to work out of the box I think this needs to be fixed, 
> ideally in a way
> that makes libsmbclient work without the need for /etc/samba/smb.conf 
> (samba-common).

This is fixed in 4.7 by commit
1199907cbe2f003a7df6f56e6cf3878d0732344d and is in Debian testing. We
won't do this for stretch as this is not a stability or security fix.

Regards

Mathieu Parent

Reply via email to