Mounting smb drives on Mac without username and password to manually type in.
I have been working on mounting drives with this script in Kace as an online shell script.
/usr/bin/osascript -e 'mount volume "smb://<servername>/sharename"'
Whenever I run it with the proper names filled in above it prompts for the root password. Is there some way I can do this on a machine that is joined to active directory and it just mounts and shows up on the desktop?
It prompts me for the root password.