Auto-mount persistent SMB shares

A quick & dirty way: sudo apt install smbmap

The proper way: Set up the drive in /etc/fstab.

TLDR:
sudo apt install cifs-utils

In /etc/fstab:

//SERVER/share /mnt/samba cifs username=user,password=passwd 0 0
... where:
“share” = the name of the network share
“SERVER” = server’s name or IP address
”user” = your SAMBA username
”passwd” = your SAMBA password