re: mount volume & netatalk (was Re: Mount volume, slash problem)
re: mount volume & netatalk (was Re: Mount volume, slash problem)
- Subject: re: mount volume & netatalk (was Re: Mount volume, slash problem)
- From: "Robert J. Rust" <email@hidden>
- Date: Wed, 14 Feb 2001 13:57:58 -0600
>
From: David Blache <email@hidden>
>
To: Applescript-Users <email@hidden>
>
CC: Chris Nebel <email@hidden>
>
>
on 2/14/2001 12:12 PM, Bret Linford (email@hidden) wrote:
>
>
> mount volume "afp://user:email@hidden/volumename"
>
>
Running netatalk (1.4b2+asun2.1.4) on redhat 6.2. The account I am logging
>
into is valid, and netatalk is configured for afp (TCP/IP access).
>
>
When the following script is run:
>
>
log (mount volume "afp://dude:email@hidden/dblache Linux - dude")
>
>
AppleScript generates the following error:
>
>
Network file permission error.
>
>
On the server side, the following is logged to /var/log/messages when the
>
connection attempt is made:
>
>
<snipped for brevity>
>
Feb 14 13:41:25 dblache afpd[26935]: cleartext login: dude
>
Feb 14 13:41:25 dblache PAM_pwdb[26935]: (netatalk) session opened for user
>
dude by (uid=0)
>
Feb 14 13:41:25 dblache afpd[26935]: login dude (uid 503, gid 100)
>
>
Note that at the same point where we get read/write logout statistics when
>
connecting via AppleScript, when connecting via the chooser, we see
>
"cleartext login: dude". This indicates a successful login.
>
>
I wonder, could this have something to do with the KeyChain? I know the
>
Chooser has limited KeyChain support, and suspect AppleScript accesses the
>
KeyChain for more operations. I've always thought that the KeyChain was
>
suspect for problems with AppleShare connections.
>
>
-David
This error occurred with MacOS 9.0 and again with 9.1, but not 9.0.4. I've
encountered this myself and have a call into my Apple Education rep to look
into a resolution (haven't heard back). It might indeed have something to
do with KeyChain, which I personally have had many problems with and now
avoid it at all costs. Interestingly enough, after I've mounted one volume
on the server, I can mount others on the same server through the script...
just can't make the initial connection, which makes me suspect the KeyChain
thing even more.
Robert
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Robert J Rust
Microcomputer Specialist
UW - River Falls IT Services
(715) 425-4357
email@hidden
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~