Cannot mount samba share: Mount error (22)
Try adding sec=ntlm
to your option flags for mount, eg sudo mount -t cifs -o user=user,sec=ntlm //server/share /mnt/sth
. Solved the same problem for me.
Source: https://bbs.archlinux.org/viewtopic.php?id=160047
try adding vers
option on mount.for example:
sudo mount -t cifs -o user=user,vers=1.0 //server/share /mnt/sth
this worked for me using 4.13.4-1-ARCH