root@srv-cloud1:/# apt install smbclient php-smbclient
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
smbclient is already the newest version (2:4.19.5+dfsg-4ubuntu9.4).
php-smbclient is already the newest version (1.0.6-8ubuntu3).
Restarted host. Activated ‘External Storage’. But, when i go to ‘External Storage’, i recive this mensage:
Either the php-smbclient library (preferred) or the smbclient binary is required for SMB storages.
this is only partly so since the snap does not include third party binaries, but connecting samba shares or local network shares works if you do it the Linux way, see