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


Click here to return to the '10.4: One way to automount SMB network shares' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: One way to automount SMB network shares
Authored by: mm2270 on Feb 07, '07 08:22:29AM
I've been using scripts like this for years now for our Macs to connect to server shares, both AFP and SMB. I find it stupid that Apple doesn't give OS X users an easy way to add auto mounts. It can be done quite nicely in an Open Directory system with managed accounts though. But not with a stand alone OS X system.

The AS solution is easier to work with than the Automator workflow primarily because the Automator one doesn't allow you to edit the URL paths after you've added them. You essentially have to remove it and add it back in. Retarded!
Also note that if the share you're connecting to requires authentication you'll need to include that in the code to get true auto-mount behavior (or it will ask for authentication when it attempts to mount). Such as:

mount volume "smb://username:password@server_address/share"

[ Reply to This | # ]