Below is an Apple Script I have done up that can be used as a login script to mount a share. You can add multiple shares if you wish to the script.
The script will poll for the logged in user/password then mount the share.
All you need to replace in the script below is "Server" & Share" the left should be left as is.
To test, if you login using an AD user or even an OD user then run the script you will see the share mount.
Code:set MyName to do shell script "whoami" tell application "Finder" mount volume "smb://SERVER/SHARE/" & MyName & ";" & MyName & ":password" end tell
Old topic but this was just what I was looking for (mounting shares never seems to work from profile manager).
Can I ask though, how do you set this to be a login item? Profile manager only supports shells scripts so I wasn't sure where to add it
Edit/Made a workaround, exported it as an Application and then added it to the login items. I can't now figure out how to add it to the dock though (in profile manager). All I can see is the stupid question mark
Last edited by furby; 26th April 2013 at 12:15 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)