|
|
| Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate. |
|
|||||||
| TouchArcade.com - iPhone Game Reviews and News |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
|
|
#1 |
|
macrumors newbie
Join Date: Feb 2008
|
Mount smb shares on login
Hi total newbie to mac os x, work in a server 2003 environment, starting to introduce mac's at work, using leopard...
i was just wondering if anyone knows the script to mount a windows share eg. \\mySrver\myShare$ and then add it to the finder sidebar... just sick to death of going to finder>connect to server etc any help would be great
|
|
|
|
| drummer21scum |
| View Public Profile |
| Find More Posts by drummer21scum |
|
|
#2 |
|
macrumors regular
Join Date: Oct 2007
|
There are a few different routes to go:
If you are in an "enterprise" setting, then there is a good chance that there is an Active Directory server in the mix, and you can then bind to the AD server, and your "home" folder can be auto-mounted at login. You just need to use the directory utility for that. Another option is to make an alias of the folder (inside the share) that you want. Unlike Windows shortcuts, aliases can contain the data needed to get to the share. Another option is to make the alias, then put it in your login items. After that there are a whole number of other ways (mount_smbfs on the command line, MCX if you are really good, etc), but I think you should probably chose one of the first three. |
|
|
|
|
|
#3 |
|
macrumors 601
Join Date: Jul 2002
Location: Fox Lake, IL
|
I use an Applescript application. Only because I didn't want to explain to the wife how to execute a shell script. A simple alias on the desktop, a double click, and Bam!
Code:
tell application "Finder" mount volume "afp://username:password@hostname/sharename" end tell
__________________
Last edited by jeremy.king : Feb 11, 2008 at 09:14 PM. Reason: better way to do this. |
|
|
|
|
|
#4 |
|
Thread Starter
macrumors newbie
Join Date: Feb 2008
|
worked at treat! thanks, not to be a bit greedy but you wouldnt know how to add the share to the finder sidebar after it opens, would you? cos for some reason in leopard when u connect to a share its not mounted on the desktop or finder for some reason? strange
|
|
|
|
| drummer21scum |
| View Public Profile |
| Find More Posts by drummer21scum |
|
|
#5 |
|
macrumors 601
Join Date: Jul 2002
Location: Fox Lake, IL
|
You can show volumes on the desktop by going to Finder Preferences and under the General Tab click the Connected Servers check box. To add the volume to the devices list, you can drag the now visible drive from the finder desktop into the list of devices in a finder window, and everytime you reconnect it should show up in the list.
__________________
|
|
|
|
|
|
#6 |
|
macrumors regular
|
|
|
|
|
|
|
#7 |
|
macrumors 6502
|
|
|
|
|
| itsallinurhead |
| View Public Profile |
| Find More Posts by itsallinurhead |
|
|
#8 |
|
macrumors regular
|
How about connecting to Linux/Unix systems???
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|