SMB Shares prompting for password

Contributor III

I have a simple BASH script that utilizes a little OSA Scripting too that mounts some SMB Shares.

Everything has been working fine but with the release of 10.13.5 it has stopped working. It is also prompting for Network Home Folders too. Here is the interesting thing:

When I log into a computer for the first time ever my network home mounts fine. I log out and log back in and it's prompting me to input my password?

This happened in the early stages of 10.12 but Apple seemed to fix it.

Am I the only one seeing this or does anyone else have some insight? Any help is much appreciated.