If you want to automount a samba share on boot, it ain’t gonna work if you put your credentials file on an encrypted home partition.

mv ~/.smbcredentials /etc/samba/

And don’t forget to change the path in /etc/fstab.