Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

remap network drive on a mac laptop

 
   Macintosh computer (Home) -> Windows 2000 RSS
Next:  USB Modem for Macbook  
Author Message
TonyBaggaDonuts

External


Since: Mar 07, 2006
Posts: 2



(Msg. 1) Posted: Tue Mar 07, 2006 9:46 am
Post subject: remap network drive on a mac laptop
Archived from groups: microsoft>public>win2000>macintosh (more info?)

I have a new mac laptop with the dual core intel (its sweet) and i
mapped a network drive at work, but when i unplugged it and returned
today, the drive assoc was gone.

i know i can check the little box in XP that remaps it on logon... is
there a way to reconnect at logon on Mac OS? or write a batch file to
be run on startup? if so, what is the syntax?

I'm a PC guru with slight mac experience.

Thanks.
Tony

 >> Stay informed about: remap network drive on a mac laptop 
Back to top
Login to vote
William Smith

External


Since: Jul 04, 2005
Posts: 245



(Msg. 2) Posted: Tue Mar 07, 2006 10:21 pm
Post subject: Re: remap network drive on a mac laptop [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
"TonyBaggaDonuts" wrote:

> I have a new mac laptop with the dual core intel (its sweet) and i
> mapped a network drive at work, but when i unplugged it and returned
> today, the drive assoc was gone.
>
> i know i can check the little box in XP that remaps it on logon... is
> there a way to reconnect at logon on Mac OS? or write a batch file to
> be run on startup? if so, what is the syntax?
>
> I'm a PC guru with slight mac experience.

Hi Tony!

The simplest method would be to connect to the server and then drag the
icon into your Login Items in the Accounts System Preferences pane. If
your server allows, also save your password.

Optionally, you could put the following one-line string into an
Applescript, save it as an application and add that to your Login Items:

mount volume "smb://server.domain.com/share" as user name "userName"
with password "password"

Hope this helps! bill
--
William M. Smith
(Microsoft Interop MVP - Mac/Windows)

 >> Stay informed about: remap network drive on a mac laptop 
Back to top
Login to vote
TonyBaggaDonuts

External


Since: Mar 07, 2006
Posts: 2



(Msg. 3) Posted: Wed Mar 08, 2006 9:15 am
Post subject: Re: remap network drive on a mac laptop [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Are the words 'as user name' & 'with password' functions of the script
language?

Another resource suggested this template:
+++++++++++++++++++++
tell application "Finder"

mount volume "smb://
workgroup;username:password@serveraddress/sharename"

end tell
+++++++++++++++++++++

so i combined the two into this subtituting my domain info here:
+++++++++++++++++++++
tell application "Finder"

mount volume "smb://server.domain.com/share"

end tell
+++++++++++++++++++++
This makes sense to me. is it wrong? I dont like putting passwords in
scripts, id rather manually enter it once and add it to my keychain,
that'll work too, right?


NOW, what if i want to unmount... is the command 'unmount'?
 >> Stay informed about: remap network drive on a mac laptop 
Back to top
Login to vote
William Smith

External


Since: Jul 04, 2005
Posts: 245



(Msg. 4) Posted: Wed Mar 08, 2006 9:28 pm
Post subject: Re: remap network drive on a mac laptop [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Tony!

My comments are inline with yours...

In article ,
"TonyBaggaDonuts" wrote:

> Are the words 'as user name' & 'with password' functions of the script
> language?

These are functions of the "mount volume" command, which is found in Mac
OS X's Applescript "Standard Additions".

> Another resource suggested this template:
> +++++++++++++++++++++
> tell application "Finder"
>
> mount volume "smb://
> workgroup;username:password@serveraddress/sharename"
>
> end tell
> +++++++++++++++++++++

The "tell application..." section isn't necessary. The "mount volume"
command isn't a command of the Finder. However, the syntax of the mount
volume line is also acceptable.

> so i combined the two into this subtituting my domain info here:
> +++++++++++++++++++++
> tell application "Finder"
>
> mount volume "smb://server.domain.com/share"
>
> end tell
> +++++++++++++++++++++

Again, the syntax of your "mount volume" line is acceptable, but it's
not the same thing as the one above. In the first example, you've
incorporated the Windows domain name and in the second you've
incorporated the fully qualified domain name of the server. These are
two different things.

The Windows domain name is used to help you authenticate to the server.
You're essentially saying, "Hi! I'm so-and-so from this domain."

The fully qualified domain name is used to fully name the server you
want to connect to. With this you're saying, "I want to use this server
in that company."

> This makes sense to me. is it wrong? I dont like putting passwords in
> scripts, id rather manually enter it once and add it to my keychain,
> that'll work too, right?

It's probably wiser to put save your passwords in the Keychain. This
means, however, that your script isn't portable to another system. You'd
have to create a Keychain on each system. Not a big deal, though.

> NOW, what if i want to unmount... is the command 'unmount'?

If you want to unmount a volume, simply drag it to the Trash or
right-click (or Ctrl + click) and "Eject".

Hope this helps! bill
--
William M. Smith
(Microsoft Interop MVP - Mac/Windows)
 >> Stay informed about: remap network drive on a mac laptop 
Back to top
Login to vote
T

External


Since: Mar 15, 2006
Posts: 1



(Msg. 5) Posted: Wed Mar 15, 2006 12:47 pm
Post subject: Re: remap network drive on a mac laptop [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

William Smith wrote:
> > NOW, what if i want to unmount... is the command 'unmount'?
>
> If you want to unmount a volume, simply drag it to the Trash or
> right-click (or Ctrl + click) and "Eject".
>
> Hope this helps! bill
> --
> William M. Smith
> (Microsoft Interop MVP - Mac/Windows)

You were so close. The command is 'eject'.
 >> Stay informed about: remap network drive on a mac laptop 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
mac network drive not password protected on xp - On Win XP, I have setup a mapped network drive to connect to my Mac OS 10.3. However, problem is it never prompts me for a password to connect and goes directly to the home folder on my Mac, and I'm assuming others on our network have complete access to....

Connecting my wireless laptop to an Airport Router - I tried to connect to my new toshiba laptop to an Airport Router. The network icon said that i had connected, and was talking with the router, however, when i tried to go out to a web page and use the internet, it did not work. Any suggestions on..

Network save - hi guys, Another issue i have on my network with the mac 9.2 clients connected to windows 2000 server using SFM is , some times users cant save files on to the network share on the server. They need to rename it or save it with another file name...

WinXP on a Mac network - Hello, I have a WinXP Pro machine on a Mac network. I need to share a folder on the Windows machine so that I can backup data from that machine to the Mac server (OSX). I've shared the folder, and given the "Everybody" group full access (file ...

very slow network - Our network is pretty well organised with a heavy Dell 4600 server running win2000sp4 server with services for macintosh installed (no active directory). There are 100 workstations, all macs (except 2 win-machines...) running system 9 and 10 (10.2.x and....
   Macintosh computer (Home) -> Windows 2000 All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]