I got stuck NextCloud snap SMB

Hi
NextCloud was installed by snap install nextcloud at Ubuntu 22.04 server.
All is cool but me could`t simple solution for activate SMB service insade snap can.
I tried it lot of variants. Nothing.

Then I install full NextCloud - Apachi server, MariaDB and ctr. Me Sure you now this way. All is ok. SMB work correct after
sudo apt-get install libsmbclient
sudo apt-get install smbclient
sudo apt install smbclient php-smbclient
nano /etc/samba/smb.conf
#add the lines below in [global]
client min protocol = SMB2
client max protocol = SMB3
Full install not fast and easy.
Qshn - any budy knows how to obey SMB in NextCloud snap?

I believe the Snap requires mounting the underling SMB mount on the host then using the Local External Storage type in Nextcloud[1].

It’s a little bit of a different approach. Some people even find it useful in non-Snap situations for various reasons too.

[1] How to add samba shares and local shares · nextcloud-snap/nextcloud-snap Wiki · GitHub