[Casper] need advice on self service mount points, andapplaunching
Thomas Larkin
tlarki at kckps.org
Thu Mar 26 11:41:19 PDT 2009
OK, it seems that it is working now for some strange reason. I had sent
the Novell admins a few emails and it works, so maybe they did
something.
for the record this is how I do it
tell application "finder"
mount volume "afp://user:password@fs106.kckps.k12.ks.us/FS106.VOL2"
end tell
I just need now to verify if it is mounted and then have it launch my
application and I am done, any pointers on that. I have no freaking
clue why mount_afp was such a pain and it still won't work.
thanks
>>> Steve Wood <swood at integerdallas.com> 03/26/09 1:34 PM >>>
The only difference I saw between what you were doing and what I was
doing in my scripts was the use of 548 in yours. You were specifically
calling out the AFP port number in yours. Have you tried it without
that?
Steve Wood
Director of IT
swood at integerdallas.com
The Integer Group | 1999 Bryan St. | Ste. 1700 | Dallas, TX 75201
T 214.758.6813 | F 214.758.6901 | C 940.312.2475
2009/3/26 Thomas Larkin
<tlarki at kckps.org>
What is the difference between yours and mine, which is:
tell application "finder"
mount volume "afp://user:password@x.x.x.x/sharepoint"
end tell
I mean isn't it essentially the same thing?
>>> Yaniv Lugassy <ylugassy at promedianj.com> 03/26/09 1:21 PM >>>
I seem to have luck using this in applescript:
mount volume “afp://servername/sharepoint” as user name “myusername”
with password “mypassword”
Also, just in case you miss it only because I have in the past, the
sharepoint name is case sensitive.
Yaniv Lugassy, ACSA
Apple Systems Engineer
Promedia Technology Services, Inc.
Office: 973.253.7600 x2308
www.promedianj.com <http://www.promedianj.com>
Fax: 973.253.5601
*Please call 973-774-1120 or e-mail
support at promedianj.com <mailto:support at promedianj.com> for technical
support and assistance from your Promedia support team*
*For all other calls, please contact our Main Number: 973-253-7600
From: Thomas Larkin <tlarki at kckps.org>
Date: Thu, 26 Mar 2009 12:46:36 -0500
To: John Wetter <john_wetter at hopkins.k12.mn.us>, Casper List
<Casper at list.jamfsoftware.com>
Subject: Re: [Casper] need advice on self service mount points, and
applaunching
Ok, I am about to get a few more gray hairs over this. According the man
pages and everything I google I am doing this right but it is not
working.
If I mount the share via the finder it works just fine, no issues. If I
mount it via apple script it works to an extend, if I mount it via
mount_afp no dice.
here is my apple script
tell application "finder"
mount volume "afp://username:password@x.x.x.x:548
<mailto:afp://username:password@x.x.x.x:548> "
end tell
This works but there are three share points on this server, and if I add
the share point it, it doesn't work, says server does not exist or spits
out a syntax error. Now if I could get this to work
tell application "finder"
mount volume "afp://user:password@x.x.x.x:548/sharepoint
<mailto:afp://user:password@x.x.x.x:548/sharepoint> "
end tell
I would be golden!
Any advice? Any Novell wizards around here? Also, how well does casper
fair with Apple scripts I normally don't use them?
Thanks,
___________________________
Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351
>>> John Wetter <john_wetter at hopkins.k12.mn.us> 03/20/09 12:28 PM >>>
Tom,
More information about the Casper
mailing list