Auto connect SMB share on boot

This had been working for quite a while but stopped for some reason. Can't see why.
The remote machine hasn't had any credentials changed.
The fstab and smb.conf files haven't changed.

QUESTION:
Maybe I can bypass this convoluted way by instead adding a command to the "Startup Applications" as:
smb://pcname.local/share/

Thanks all