Hello, we recently started using Casper Suite and have come up against our first issue: how to handle mounting multiple SMB shares at login.
Currently, I'm trying to mount two shares at login for students in a lab. In the Finder, I can use "Connect to Server" to mount each share. I downloaded the resource kit, modified the values in the mountNetworkShare.sh file twice (one for each share), renamed the scripts, and dragged them in to Casper Admin. Then I created two new policies (one for each script) using the Login trigger. When logging in, one share mounts, the other does not.
The following info shows up in the log for the share that does not mount:
8/17/10 9:04:17 AM com.jamfsoftware.mapdrive.students.charlie.test[37939] osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
8/17/10 9:04:17 AM com.jamfsoftware.mapdrive.students.charlie.test[37939] 0:65:
8/17/10 9:04:17 AM com.jamfsoftware.mapdrive.students.charlie.test[37939] execution error: Application isn’t running. (-600)
Google reveals that "execution error: Application isn’t running. (-600)" has something to do with running a osascript when the windowserver or Finder is not available. The strange thing is that the script that works mounts before this error is thrown, so I'm unsure why this error doesn't appear for the first share.
Has anybody run across this before?
Is there a better way to handle multiple SMB shares at login? I have another scenario that involves mounting between 5-7 shares...
Thanks,
Charlie Ahn
CSU Channel Islands