Using a mount -t cifs -v <address>
returns with Host is Down
error when connecting to a server running SMB 2.0 (with SMB 1.0 disabled). A workaround is to specify vers=2.0
to the argument list of mount
. This works fine if you're mounting via command line and have the ability to specify this argument. But, when using a GUI or some program that calls mount
on your behalf, this argument is not specified.
Is there a way to make SMB 2.0+ the default for all mount -t cifs
calls, regardless what calls it? Perhaps in smb.conf
?
Currently running Arch Linux.
EDIT:
Added min protocol = SMB2
to /etc/samba/smb.conf
and restarted the service. Both mount
and smbclient
still require the SMB version to be specified before connecting to the server.
EDIT2:
Adding client min protocol = SMB2
and client max protocol = SMB3
allows smbclient
to connect to the server without specifying the version argument. But, mount
still doesn't respect the newly added lines in smb.conf
.