After much umming and arhing, and not sure where the problem lies. I've asked this here. If you think it needs to moved, accept my apologies and please move it.
I have very little remaining hair with this problem so please help.
Also I have only been using the Mac for the last couple of days so please please please don't hold this against me especially if I'm being thick.
Scenario :
Windows 2000 Servers set up as a domain. Now the File Services for Mac have been installed so I can get access to the any shares on the File Server from my Mac. Yippee.
Mac has OS 9.2.2 as an operating system.
Now step two : THis is for students, so I need to automate it. Asking the little blighters to map several shares isn't on the cards. So step in some Applescript.
Using Dialog Director, I purloined the script for a username and password (the students details) and mounted using the following.
Mount volume Student_HomeDrive on server File_Server1 as user name Userlogin with password UserPasswd;
This works, great stuff.
Installed Macadministrator as well. Had everything running swimmingly.
Now we finally come to the problem.
Two sites, two files servers. A users area could be on one or the other. Only because of the inter-campus link it is not possible to see the File Server on the other campus.
So the script can no longer work because it can't find the name File_Server1. I can no longer see it in the Chooser. If the Mac is at the same Campus I can.
I can access it manually through using the IP 172.16.1.10.
But now the script doesn't work. So I change the script to the following.
Mount volume "afp://" & LoginUsername & ":" & LoginPassword & "@172.16.1.10/Student_Home
drive"
Network File Permission Error.
I've simpilfied it to :
Mount volume "afp://Testuser:pass@172.1
6.1.10/Stu
dent_Homed
rive"
Network File Permission Error.
Remove the password from it :
Mount volume "afp://Testuser@172.16.1.1
0/Student_
Homedrive"
Comes up with the authentication screen, user name in the right place. Enter password works fine, so its not the password and its not a permissiosn problem that I can see.(I've had this verified after two hours to make sure I wasn't going crazy).
And ergo not the scripts.
So I'm stuck i need to map/mount the share/volume with the IP number, through a script and not manually.
So I'm hoping on of you guys can help at least put me on the right track to a solution.
Start Free Trial