For some strange reason kerberos authentication for mounting SMB shares is not working, which I can live with. Although trying to mount a smb share is really getting to me....
So I have a script which when run through terminal works fine although it does prompt for password:
#!/bin/sh
mount_smbfs -o nobrowse //zfssa0/home_student/$USER /Users/$USER/Desktop/Home
pretty simple, don't need anything too fancy.
I have tried multiple scripts to get this working e.g
https://github.com/amsysuk/public_scripts/blob/master/mount_SMBHome/mounthome.sh from @bentoms plus a few others and nothing seems to work
Tried creating a automator app hoping it would prompt for password but can only get it to run "with Administrator privileges"
I can mount the share using config profile but this will mount the root folder which we cannot have, thus the use of the no browse.
If I use my script above and authenticate it places a share on the users dekstop which is perfect.
Im no scripting wiz but can do bits and pieces.... i know how to copy paste....
Any ides?
