Automount windows share in OSX Leopard

macshaun

Registered
I am running a Windows XP Pro virtual machine through parallels on my macbook pro. What I would like to do is automount a share on the windows machine to my mac at startup. I've done a little googling and found that I should create an auto.smb file and then within auto_master add the mount. My auto.smb file contains the following:

/Users/myusername/myshare -fstype=smbfs ://mywinusername:mywinpassword@mywinvm/mywinshare

I added the following line in my /etc/auto_master file:

mywinshare auto.smb

I then did an automount -vc to activate this mount. However when I try to access the mount it puts me in a loop.

Hope someone can help.
 
I'll agree that I may be gapping here but when you boot up mac os x, your vitual computer isn't running so you won't be able to connect.

After doing my own research, I stumbled onto this website:
http://www.macosxhints.com/article.php?story=20071028194033157

It points out that much has changed since Tiger but this site explains how to do it in leopard. I noticed that one thing that was changed is that smbfs isn't used anymore, now they use cifs.
 
Back
Top