Script/Automator App in Profile Manager Login Settings
I don't know if I am going the wrong direction, but what I am looking to do is set workstation settings via an Apple Script. Everything seems to work Ok the way I want it to when run from the machine itself, but when I try to have the script or Automator app set as a Login Item in Profile Manager, things don't work. I don't know if I am typing in something wrong or what. I would like the script or Automator app to live on the server and run when the user logs in.
What I am wanting to do is set the default wallpaper to our company background, mount network shares on a Yosemite server, and eventually set printers via Apple Script or Automator app.
What I have done so far to try is have the Automator app called login.app located on a file share on my Yosemite server in a directory that has everyone read permissions on it.
In Profile Manager I have tried both Authenticated Network and regular Network mounts to the share where login.app is located. This seems to work 50% of the time and the share gets mounted.
I then tried to set the login.app application as a login item (giving it a full smb path and also a /Volumes/share path as well. Neither of these seem to work.
I don't know if I am going about this the wrong way, but I have been trying to solve this for the past 4 days without luck. Also as a side note I have tried doing this through a script, but I don't know if I am doing that correctly as I never really have written a login script for Mac before and it seems resources on how to do this seem slim.
Any help is appreciated.