These steps assume you are root or using sudo.
apt install cifs-utils
/root/.smbcredentials with the following contents …
Change username and password to your username and password.
/etc/fstab and add the following line to the end.
//192.168.1.111/software /mnt/clyde cifs vers=3.0,credentials=/root/.smbcredentials
192.168.1.111 should be changed to your host and software should be changed to your share.
/mnt/clyde is the location where the remote share is mounted. This folder must already be created.
Make sure networking is started before mounting.
systemctl enable systemd-networkd-wait-online