SMBv1 (NT1) was deprecated by Microsoft from Windows 2012 onwards.
Current versions of the Linux smbclient have removed SMB1 from the minimum allowable version of SMB within the config file.

To identify if the issue is related to inabiity to use SMBv1 protocol, issue the following command:

smbclient -L {server_hostname} -m NT1 -U {user} -W {domain_or_workgroup}

# Will return the following if NT1 negotiation failed
protocol negotiation failed: NT_STATUS_INVALID_PARAMETER_MIX

The preferred solution is to remove all SMBv1 communication from the network. All SMBv1-only devices and systems should be upgraded or replaced for security.
A temporary solution is to modify the smbclient config to allow SMBv1 protocol.

/etc/samba/smb.conf

- client min protocol = SMB2
+ client min protocol = NT1

Test and confirm samba confguration

testparm
  
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.

Confirm ability to connect to / list SMBv1 shares with smbclient

smbclient -L {server_hostname} -m NT1 -U {user} -W {domain_or_workgroup}

 

Tags