I've tried difference scripts (bash and AppleScript) but none seem to work for me. Basically, (and I see this has been asked a lot but varies), I would like for any user that logs into the Macbook, connect to their smb share AND place that drive as a shortcut in either the Locations (in Finder) OR Desktop. Users should not be prompted for their username and password. Here's what the smb path looks like:
Where UserName can be any user that logs in to that Mac device. But do not prompt for username and password if possible. If password is a must, then I'll take whatever I can work with.