[Casper] need advice on self service mount points, and app launching
Thomas Larkin
tlarki at kckps.org
Thu Mar 19 13:04:32 PDT 2009
Well
A bit of progress, but not in the right direction. I can mount the share fine via the finder, however when using the mount_afp command I can never get it to work. I always get this error:
mount_afp: AFPMountURL returned error 22, errno is 118
So this is my method of doing this from the terminal:
mkdir /Volumes/FS106
mount_afp afp://user:password@10.10.10.10 /Volumes/FS106
I am looking at creating a generic user account so it just auto maps via a script and possibly loop it so that is checks to see if that volume is mounted and then once it is mounted it will launch the app, which will have location specific configuration for where to look for the database file.
Any help would be appreciated
___________________________
Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351
>>> "Thomas Larkin" <tlarki at kckps.org> 03/19/09 11:28 AM >>>
Well
This is a bit of a complicated debacle I am in. I have some old Novell servers that do not support encrypted passwords, so I must have users log in using plain text. So I need to mass edit a plist file on each user account to allow this. Then I want them to click once on a self service policy and have it map the network share that holds the database files. Then in the app's preferences I already have it pointed out where to look.
I looked at the mount_afp command but when I run it in interactive mode it always asks for authentication in the terminal? I can't seem to get a GUI based dialog box. I also need it to wait for about 20 seconds while the user authenticates and then have it launch the app in question.
I have the app configured and it works when I do everything manually, but I need to wrap this up in a one click solution for the end user, so they don't get confused. My other thought is to just create one generic user account that can have access to this database file and then use that generic password in the script and just have it mount under the hood with out the user's actual credentials.
Thanks for any advice.
___________________________
Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20090319/9825fa7e/attachment.htm
More information about the Casper
mailing list