|
|
#1 |
|
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 |
|
|
|
|
|
#2 |
|
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 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|