These steps assume you are root or using sudo.
Install cifs-utils.
apt install cifs-utils
Create /root/.smbcredentials
with the following contents …
username=username
password=password
Change username and password to your username and password.
Edit /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
Reboot.
reboot