Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > AppleScript, MacOS 9.1, AppleShare server connections

AppleScript, MacOS 9.1, AppleShare server connections
Thread Tools
Casey
Guest
Status:
Reply With Quote
Mar 16, 2001, 10:48 AM
 
In MacOS 9.04, you can use the Standard Addition's "mount volume" command to connect to AFP servers via AppleScript. Under 9.1, things don't work so well. Here's the command:

Code:
mount volume "afp://afpser.domain.edu/mountpoint" as user name "user" with password "pass"
What worked under 9.0 and 9.04 (and under 8.0 to 8.6 using the MountIP OSAX), gives a "Network file permission error" under 9.1.

Has anybody else found this? Has anybody figured out a work around?
     
Dedicated MacNNer
Join Date: Nov 1999
Location: Georgetown, Demerara, Guyana
Status: Offline
Reply With Quote
Mar 17, 2001, 02:24 AM
 
Hi Casey,

There have been some reports that, under Mac OS 9.1, all five Security libraries (in your System Folder's Extensions subfolder) must be enabled for the 'mount volume' command (and many other commands in 9.1's Standard Additions OSAX) to work properly. This is probably because of the changes that Apple made to 'mount volume' for Keychain support. However, apparently even with all of them enabled, certain kinds of servers still might not mount (e.g., netatalk)... Anyway, I guess you could try enabling them if they're currently disabled.

For example, see Timothy Wilkinson's post of Feb 14, 2001 7:51 in the Mount command thread over in Apple's own AppleScript Discussions Forum. That thread also covers Mac OS 9.0.x, so it contains various other proposed workarounds which might or might not work for 9.1, such as:- incorporating the user-name and password into the URL string itself, i.e., '("afp://" & theUser & ":" & thePass & "@" & "afpser.domain.edu/mountpoint")'.]

Regards, and good luck,

--Paul

[This message has been edited by Paul Crawford (edited 03-17-2001).]
     
Junior Member
Join Date: Mar 2000
Location: Salem, OR, USA
Status: Offline
Reply With Quote
Mar 18, 2001, 08:31 PM
 
This happend to us at work and was the big emergency for two days. What I did was to replace the "standard editions" file in 9.1 with one from 9.0

That fixed it.

At the time of the upgrades I was hoping Apple would release a fix for it. They didn't back then and I haven't cared to check it out since. Maybe Apple has an AppleScript update posted.

-numero
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:03 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2