Mounting Shares in OS X.2 on MS Server v. Mac Client
Mounting Shares in OS X.2 on MS Server v. Mac Client
- Subject: Mounting Shares in OS X.2 on MS Server v. Mac Client
- From: "Secrest, Chris" <email@hidden>
- Date: Fri, 15 Nov 2002 11:46:58 -0600
- Thread-topic: Mounting Shares in OS X.2 on MS Server v. Mac Client
I've searched the archives and I can't find exactly what fixes my
problem ... So here goes.
I am trying to make a script that will mount Appletalk shares from both
a Windows 2000 server with AppleServices turned on as well as mounting
from Mac clients that have a folder shared out to peers. I should
mention that I do not administer the W2K servers, just the clients...
The script can not contain hard coded usernames/passwords as I would
like the user to get prompted for username/password as if they went
through the Connect to Server command (many users per machine so
Keychain isn't really an option either).
The script is simply:
--SOF
Tell application "Finder"
try
mount volume "share" on server "servername" in AppleTalk
zone "*"
on error the error_message
display dialog error_message
end try
End tell
-- EOF
If I put in the name for the server I get an error that reads: "Finder
got an error: Network file permission error"
If I replace the name with the IP (which I'd rather not do) I get this
error: "An error of type -1028 has occurred"
Like I said before it works perfectly fine when mounting a share on a
W2K server but not on any Mac-sharing Clients. *BUT* if I hardcode a
user name and password during the mount command it works perfectly fine
for either way (but it compromises my desire to have the Finder bring up
the user authentication).
TIA,
Chris Secrest
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.