RE: [Rant] Will mount volume EVER work the way it is supposed (Scott Swartz)
RE: [Rant] Will mount volume EVER work the way it is supposed (Scott Swartz)
- Subject: RE: [Rant] Will mount volume EVER work the way it is supposed (Scott Swartz)
- From: "AppleScript Users" <email@hidden>
- Date: Sun, 29 Jul 2001 15:30:43 -0700
Hi JolyRoger,
I understand your frustration. I share it with you.
Everybody is replying like "o yes? it works for me! try this!", but still
this list server is regularly flooded by people not able to mount
Appleshare volumes using Applescript.
A few months ago I replied already to the list that it is really the
Standard Additions file in the Scripting Additions folder that is
responsible for the problem, replacing the 1.6 file with a 1.4.2 version
solved my problem.
I check this list server from time to time, and apparantly nothing has
changed.
Maybe we help Apple by spooning in the problem, and making the bug
reproduceable. I used a demo version of NetMinder Ethernet to find out
what the problem is exactly.
It seems like the 1.6 mount volume command is ignoring the response of the
server that it should be using a certain form of authentication. If a
server is responding that it only supports Apple Clear Text
authentication, the 1.6 version of mount volume still tries to do a
Randnum exchange, which is a command only used by Apple Encrypted
authentication. So there are a number of situations where the mount volume
version 1.6 command will fail:
1. when the server does not support Apple Encrypted authentication
2. when the server supports it, but the handshaking fails due to bugs on
whatever side of the transaction
This will result in the following practical situations (to my experience):
1. mounting a Mac volume published using personal file sharing over IP,
with the 1.6 addition works
2. mounting a NT volume does not, even when setting the authentication
method on the server side to Apple Encrypted (and probably this affects
some other non Apple implementations of Appleshare), but it works with the
1.4.2 Standard Additions file.
Akua Sweets (great stuff) has a "Mount Server Volume" command which seems
to be able to enforce an authentication method, but it seems this addition
is not able to mount shares over IP, therefore I cannot test if it works -
the servers I use are on the internet. But maybe it works for you. Or
maybe the author could expand the "Mount Server Volume" command to support
IP. (author in cc).
Or just copy an older Standard Additions file like the 1.4.2 version to
your system folder, which works for me (so far).
>
The fact that this is still broken is extremely irritating to those of us
>
who would benefit most from this functionality. PLEASE Apple, fix this
>
for
>
once and for all!
Well, apparantly they fixed it under Mac OS X, because the same code
executes prefectly in X.
Or they have separate development teams for AppleScript, or the developers
are not supposed to improve Mac OS 9 anymore. I think they should, until I
can buy me a Mac fast enough, and software compatible enough to make the
switch.
We're probably just talking to the walls, but it helps writing off the
frustration. -- Peter Wagemans (email@hidden)
----
>
From: JollyRoger <email@hidden>
>
>
To: Applecript Users <email@hidden>
>
>
Every now and then I run into a situation where I see that it would be
>
terrific if I could mount an AppleShare volume using AppleScript. And
>
each
>
time, I find myself typing something similar to the following into my
>
script
>
editor:
>
>
mount volume "afp://10.1.0.3/volumename/" as user name "username" with
>
password "password"
>
>
mount volume "afp://ServerName/volumename/" as user name "username" with
>
password "password"
>
>
mount volume "volumename" on server "ServerName" as user name "username"
>
with password "password"
>
>
The results?
>
>
Error message: "Network file permission error."
>
>
Error message: "An error of type -3170 has occurred."
>
>
Error message: "Network file permission error."
>
>
I am sick and tired of finding out after AppleScript update, after
>
AppleScript update, after AppleScript update that this STILL does not
>
work!
>
My god, how long can it take to fix this broken feature?! Is it really
>
too
>
much to expect, after 3-5 AppleScript releases, that this bug be fixed?
>
>
The fact that this is still broken is extremely irritating to those of us
>
who would benefit most from this functionality. PLEASE Apple, fix this
>
for
>
once and for all!