• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: mount volume command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mount volume command


  • Subject: Re: mount volume command
  • From: Ron Bishop <email@hidden>
  • Date: Thu, 19 Jun 2003 07:37:26 -0500

If the volume is a Windows volume shared via smb/cifs

Tell application "Finder"
open location "smb:// domain;username:password@server/shared_volume"
end tell

If you're in an NT domain don't forget the domain name then a semi-colon
then username...I couldn't figure it out-then someone named Iwan taught me
that tidbit on the OS X AppleScript Discussion Area.

Hope that helps,

Ron Bishop

On Thursday, June 19, 2003, at 03:58 AM, Brian Ling wrote:

Hi all,

I find myself with a rather odd problem if I run the following:

mount share "smb://myname:email@hidden/sharename"

it fails, if I run:

mount share "smb://email@hidden/sharename"

The authentication dialog that appears has taken the workgroup of the server and entered this in the "Workgroup/Domain" entry, thus completely ignoring the domain from the command. So I tried this as it explicitly specifies the domain to use:

mount share "smb://domain;myname@server/sharename"

once again when the dialog appears my domain entry has been ignored and the server's workgroup is in the "Workgroup/Domain" entry in the authentication dialog.

So does anyone know how to false the finder to use the domain entry not the server workgroup?

Now it starts to get confusing, as when this is tried via a modem network connection the above is true. However when tried on the local LAN the server's workgroup is ignored and the domain appears in the authentication dialog.

Can any shed any light on this as it is driving me up the wall!!!!

Cheers,

Brian


---------------------------------
Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: mount volume command
      • From: Brian Ling <email@hidden>
References: 
 >mount volume command (From: Brian Ling <email@hidden>)

  • Prev by Date: Re: AppleScript Timed Events
  • Next by Date: display dialog
  • Previous by thread: mount volume command
  • Next by thread: Re: mount volume command
  • Index(es):
    • Date
    • Thread