Go Back   The macosxhints Forums > OS X Help Requests > Classic



Reply
 
Thread Tools Rate Thread Display Modes
Old 01-10-2003, 06:26 PM   #1
jonesy
Prospect
 
Join Date: Jan 2002
Location: Looking-glass, Wonderland
Posts: 31
"Mount volume" applescript errors

Working up a log in script for a comp lab. The script basically gets the username and password from the client then mounts a volume at the client's userspace. This is using the following:

mount volume "afp://" & logname & ":" & pwd & "@serverIP/vol"

It appears that the dialogs getting the logname and pwd variables work but when the mount comes up the system (AppleScript?) returns a "Network file prmission error".

If I put in the password by hand (and have the script insert the user name) the connection goes fine.

I've also tried this using the older appetalk syntax. but that returns an error type -5027.

What I can tell:
The script event log seems to indicate the variables are being passed. I get the values plugged into the dialogs in the mount command.

It appears that the values are plain text (strings) and thats what I need for the login to work on the server end (not encypted)

I really need to use the AFP form of the mount command because our net admins are turning old AT off on our LAN.

The system:
Blue g3
OS 9.2.2
AppleScript 1.8.3

Will update with further info as requested.
__________________
Grrr!!!!!

the lyf so short, the craft so long to lerne.
- Chaucer
jonesy is offline   Reply With Quote
Old 01-28-2003, 10:47 AM   #2
jonesy
Prospect
 
Join Date: Jan 2002
Location: Looking-glass, Wonderland
Posts: 31
Update

Well, we finally ran a packet trace on the login. It appears the server gets everything but the password. (Packets are showing the request then username then an attempt at a random number exchange.)

It appears to me that the transaction isn't giving enough time, perhaps for the password to get passed to the server.

any ideas are appreciated.
__________________
Grrr!!!!!

the lyf so short, the craft so long to lerne.
- Chaucer
jonesy is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting 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

Forum Jump



All times are GMT -5. The time now is 07:53 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.