First time poster here on JAMF Nation. In short, in an Educational Environment I am mounting a single SMB File Share through a Policy that then runs the following script:
This is being applied to a Lab of AD joined iMac's running Big Sur.
I have to set
sudo defaults write /Library/Preferences/com.apple.NetworkAuthorization AllowUnknownServers -bool YES
To prevent a prompt appearing to the end user warning them they are connecting to an SMB share that they haven't initiated (because this is managed through a script).
Prompt That Appears: You are attempting to connect to the server "blah.server.com". Click Connect to continue. Cancel/Connect
I would like to find where I can set a list of trusted servers. I currently cannot find where this exists after checking through a number of *.plist files in
and other locations.
So what happens when this script runs from an End-User perspective:
Besides not knowing where to set the trusted server list everything else is working as expected.
Any assistance would be greatly appreciated.