Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Automount SAMBA (Windows) share points at boot' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automount SAMBA (Windows) share points at boot
Authored by: Anonymous on Oct 24, '03 05:09:29PM

I've done the same thing with an AppleScript that I dropped into my Startup Items:


tell application "Finder"
	mount volume "smb://WORKGROUP;username:password@machine_name/directory"
end tell

Where workgroup is the name of the Windows workgroup/domain, etc. Basically the same information that you would enter in the SMB/CIFS authentication dialog box when you Connect To Server in the Finder.



[ Reply to This | # ]
Automount SAMBA (Windows) share points at boot
Authored by: richard788n on Oct 26, '03 02:20:40AM

How can I remount to a SAMBA share after waking my PowerBook from sleep?



[ Reply to This | # ]
Automount SAMBA (Windows) share points at boot
Authored by: odyssey on Apr 13, '04 09:14:24AM

Double click the AppleScript. It will then mount them.



[ Reply to This | # ]
Automount SAMBA (Windows) share points at boot
Authored by: mweymar on Jun 11, '04 10:20:23PM

Just guessing, but I think (s)he may've meant *automagically*; i.e., how do you - or *can* you - remount the directory automagically post-sleep?... Or do you *have* to double click the script?...

I'm curious about this too.



[ Reply to This | # ]
Automount SAMBA (Windows) share points at boot
Authored by: adinb on Dec 20, '05 02:06:56AM

Yeah, I'm looking for a better way to automount/automatically reconnect to all my samba shares after sleep as well.

I tried the automount tip but I just get the finder spinny ball o' doom and many iterations of the following in the console:

Dec 20 02:46:23 Dream automount[2716]: Can't mount destiny:/media on /private/Network/Servers/destiny/media: Invalid argument (22)


Here's a summary of the entry in the NetInfoManager:

name: server:/share
dir: /Network/Servers
vfstype: url
opts: (net, url==smb://workgroup;server/share)



[ Reply to This | # ]