My Ubuntu 20.04 does not access the windows network (D-link NAS-320L Share center), the error is the following:
Failed to mount the windows share: Connection termination caused by software.
In previous distros everything was normal.
Another post solved the problem adding the lineclient min protocol = NT1 in smb.conf file.
This works, but partially: I can browse the directory tree, but some files are seen like a directory and I receive an error trying to access them.
32 Answers
Try this:
showmount -e 192.168.1.10 (ip address D-Link ShareCenter)
Export list for IP's allowed:
/mnt/HD/HD_b2 192.168.1.5
/mnt/HD/HD_a2 192.168.1.5
and for mounting via nfs:
sudo mount -t nfs 192.168.1.10:/mnt/HD/HD_a2 /HD1
(/HD1 should exist)
The other option has been tested and works.
Add this line to /etc/samba/smb.conf
client min protocol = NT1
and restart:
/etc/init.d/smbd restart