[Casper] need advice on self service mount points, andapplaunching

Thomas Larkin tlarki at kckps.org
Thu Mar 26 11:30:15 PDT 2009


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