Mounting a samba share (from linux samba server) is not possible from shell on fresh kubuntu 19.04 installation
root@client:~# mount -t cifs -o user=myuser //myserver/myshare /home/user/myserver/myshare/
Password for myuser@//myserver/myshare: *****
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
But the share, mountpoint and user (credentials) exist and are correct:
smbclient -L myserver -U mygroup\\myuser
Enter MYGROUP\MYUSER's password:
Sharename Type Comment
--------- ---- -------
myshare Disk
[...]
~# ls -al /home/user/myserver/myshare/
insgesamt 8
drwxrwxrwx 2 user user 4096 Jul 30 19:21 .
drwxrwxr-x 3 user user 4096 Jul 30 19:21 ..
I can also open the share in e.g. dolphin with smb://
protocol
This used to work for years now with previous ubuntu versions.
client system:
~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco
~# uname -a
Linux mypc 5.0.0-21-generic #22-Ubuntu SMP Tue Jul 2 13:27:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
installed packages (from apt log):
install cifs-utils:amd64 <keine> 2:6.8-2
install keyutils:amd64 <keine> 1.6-6
install samba-common:all <none> 2:4.10.0+dfsg-0ubuntu2.2
install smbclient:amd64 <keine> 2:4.10.0+dfsg-0ubuntu2.2
Server samba version:
~# smbd --version
Version 3.6.25