[Macpartners] Persistent SMB connection?

Helen Rose hrose at MIT.EDU
Thu May 3 11:32:50 EDT 2007


On May 3, 2007, at 11:27 , Justin Anderson wrote:

> Your best option is an applescript or Automator workflow in your
> Login Items.
>
> The simplest applescript is:
>
> mount volume "smb://server/shared-folder"
>
> 1. Paste that into a blank script in the program /Applications/
> AppleScript/Script Editor.
> 2. Alter the URL to match what you usually type into the Connect To
> Server dialog.
> 3. Click the button titled Run to test that it works.
> 4. Save the script, making sure that its format is "application" and
> not "script".
> 5. Place that script somewhere out of the way, then place a link to
> it in your Login Items under the Accounts preference pane.
>
> Then whenever you login, the script will run and you'll be prompted
> for the name and password to use.
>

even better, if the Windows server is part of the central domain, you  
can log in using Kerberos credentials (negating the need to enter a  
password!).




More information about the Macpartners mailing list