sudo mount -t cifs -o "uid=$local_user,username=$smb_user,addr=$host" //$host/$share $mount_pathFor errors:
mount: $mount_path: cannot mount //$host/$share read-onlymount: $mount_path: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.
Install cifs-utils:
sudo apt install cifs-utils