Mount Network Share

New Contributor

Hello All.

I am trying to mount a network share upon login and am using this script in order to do it ( I notice a lot of references to '/usr/sbin' in the script. Are these references needing to be replaced? Does anyone have any better scripts that would use a kerberos ticket to mount a SMB share?

Thanks in advance!


Valued Contributor II

References to /usr/sbin are fine as long as they are Apple-allowed binaries you are referencing there. References to third-party tools in /usr/sbin (like jamf) are a problem. I didn't run that script, but I took a quick look through and and saw nothing in it that scared me. It looks like it should still work fine.

Valued Contributor

We use this in our shop to great effect.