AD Bound Mac prompting for password for network drive

cstierman
New Contributor

I'm running a script that mounts a series of network drives in a lab when a user logs in. The script works fine in Catalina, but upon upgrading to Monterey the users are being prompted for their passwords when the script runs at login.  

This is the command I am running in the script: "sudo -u $3 osascript -e "try" -e "mount volume \"smb://share.testsite.edu/Students\"" -e "end try"

 

Manually entering the same SMB string in the connect to server box allows the drive to mount without a password prompt.  I can't seem to figure out what I am missing here....

0 REPLIES 0